X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fcore.js;h=4da1212c1491488a10548c476a7e03e61d78b50c;hb=9029dc02a234ad9699513f81acd1423f9c2c4e30;hp=008a88c229b62ac1fe885e6b7f493efc5316e89f;hpb=bc05cb9d80b63d8a324a3773a39ac1baa181c4d2;p=jquery.git diff --git a/src/core.js b/src/core.js index 008a88c..4da1212 100644 --- a/src/core.js +++ b/src/core.js @@ -532,12 +532,6 @@ jQuery.extend({ }, 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; } @@ -892,6 +886,11 @@ function doScrollCheck() { jQuery.ready(); } +// Expose jQuery as an Asynchronous Module +if ( typeof define === "function" ) { + define( "jquery", [], function () { return jQuery; } ); +} + // Expose jQuery to the global object return (window.jQuery = window.$ = jQuery);