Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support CommonJS environments by accentuating the need for a window w…
…ith a document. Fixes #13768.
- Loading branch information
Showing with 40 additions and 28 deletions.
There are no files selected for viewing
Oops, something went wrong.
|@@ -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 );|