Revert "Register as a CommonJS async module if in that kind of environment. Fixes #7102."
This reverts commit 6ffa730721
.
Conflicts:
src/core.js
This commit is contained in:
parent
cbf591152c
commit
ae6655bcb6
3 changed files with 23 additions and 35 deletions
|
@ -1034,11 +1034,6 @@ 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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue