diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2013-07-04 14:00:26 -0400 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2013-07-04 14:05:30 -0400 |
commit | acdcc6b6a25a2ccddea6b27b2a2fc2b7ef0e2116 (patch) | |
tree | 34b0ea2124fae782dff93b78786a5dd8f6ec9025 /src/outro.js | |
parent | 894a6c1a6f0d051158ba208c5eb0e5b5385dec00 (diff) | |
download | jquery-acdcc6b6a25a2ccddea6b27b2a2fc2b7ef0e2116.tar.gz jquery-acdcc6b6a25a2ccddea6b27b2a2fc2b7ef0e2116.zip |
Support CommonJS environments by accentuating the need for a window with a document. Fixes #13768.
Diffstat (limited to 'src/outro.js')
-rw-r--r-- | src/outro.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/outro.js b/src/outro.js index ac484391c..20cec437c 100644 --- a/src/outro.js +++ b/src/outro.js @@ -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 ); +})); |