git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of github.com:jquery/jquery into deferred
[jquery.git]
/
src
/
core.js
diff --git
a/src/core.js
b/src/core.js
index
3763cd0
..
eb0c1c8
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-1038,6
+1038,11
@@
function doScrollCheck() {
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);