mirror of
https://github.com/jquery/jquery.git
synced 2026-02-05 19:14:59 -05:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user