git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for #7865. Scripts onload handler passes event as first parameter so statusText...
[jquery.git]
/
src
/
core.js
diff --git
a/src/core.js
b/src/core.js
index
07d5caf
..
e75c86f
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-532,12
+532,6
@@
jQuery.extend({
},
isEmptyObject: function( obj ) {
},
isEmptyObject: function( obj ) {
-
- // Fixes #7413 Check to see if obj passes isPlainObject
- if ( !jQuery.isPlainObject( obj ) ) {
- return false;
- }
-
for ( var name in obj ) {
return false;
}
for ( var name in obj ) {
return false;
}
@@
-739,6
+733,7
@@
jQuery.extend({
}
}
}
}
+ // Flatten any nested arrays
return ret.concat.apply( [], ret );
},
return ret.concat.apply( [], ret );
},
@@
-891,6
+886,11
@@
function doScrollCheck() {
jQuery.ready();
}
jQuery.ready();
}
+// Expose jQuery as an Asynchronous Module
+if ( typeof define !== "undefined" ) {
+ define( "jquery", [], function () { return jQuery; } );
+}
+
// Expose jQuery to the global object
return (window.jQuery = window.$ = jQuery);
// Expose jQuery to the global object
return (window.jQuery = window.$ = jQuery);