…ixes #7102.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -886,6 +886,11 @@ function doScrollCheck() { | ||
jQuery.ready(); | ||
} | ||
|
||
// Expose jQuery as an Asynchronous Module | ||
if ( typeof define !== "undefined" ) { | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jrburke
Author
Contributor
|
||
define( "jquery", [], function () { return jQuery; } ); | ||
} | ||
|
||
// Expose jQuery to the global object | ||
return (window.jQuery = window.$ = jQuery); | ||
|
||
Write it in a separate file and exclude it from normal build?