X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=blobdiff_plain;f=src%2Fcore.js;h=4da1212c1491488a10548c476a7e03e61d78b50c;hp=e75c86fab1f86d477ea1137f72b58632bc2ac8cd;hb=9029dc02a234ad9699513f81acd1423f9c2c4e30;hpb=dfa57073069c6b60f623635df65e02c0c0c9a582 diff --git a/src/core.js b/src/core.js index e75c86f..4da1212 100644 --- a/src/core.js +++ b/src/core.js @@ -887,7 +887,7 @@ function doScrollCheck() { } // Expose jQuery as an Asynchronous Module -if ( typeof define !== "undefined" ) { +if ( typeof define === "function" ) { define( "jquery", [], function () { return jQuery; } ); }