mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Support CommonJS environments by accentuating the need for a window with a document. Fixes #13768.
This commit is contained in:
@@ -1,2 +1,6 @@
|
||||
// Expose jQuery and $ identifiers, even in
|
||||
// AMD (#7102#comment:10, https://github.com/jquery/jquery/pull/557)
|
||||
// and CommonJS for browser emulators (#13566)
|
||||
return (window.jQuery = window.$ = jQuery);
|
||||
|
||||
})( window );
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user