diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2013-12-19 15:00:06 -0500 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2013-12-19 15:00:06 -0500 |
commit | a6f474e699f95a90f95228bd525490151acc0451 (patch) | |
tree | 3fbe1cf093b7fb7fdb4df0517754b4592050632d /src/jquery.js | |
parent | 09ede3d33b1a43c399bc9549c634af634513a81d (diff) | |
download | jquery-a6f474e699f95a90f95228bd525490151acc0451.tar.gz jquery-a6f474e699f95a90f95228bd525490151acc0451.zip |
Build: Add the ability to remove global exposure.
Ref #14016
Diffstat (limited to 'src/jquery.js')
-rw-r--r-- | src/jquery.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/jquery.js b/src/jquery.js index ef8745c7b..46460fa96 100644 --- a/src/jquery.js +++ b/src/jquery.js @@ -27,12 +27,10 @@ define([ "./offset", "./dimensions", "./deprecated", - "./exports/amd" + "./exports/amd", + "./exports/global" ], function( jQuery ) { -// 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); +return jQuery; }); |