I was examining the query source code when I came across this:
3730 | jQuery.extend({
3731-3775| //code
3776 | });
And then right after that, I found this:
3778| jQuery.fn.extend({
----| //code
----| })
These two should be the same because back on line 296
where the extend function is declared, I found this:
296| jQuery.extend = jQuery.fn.extend = function() {
But since they are the same, why would the jQuery team suddenly switch from always using jQuery.extend()
to suddenly using jQuery.fn.extend()
?