diff options
Diffstat (limited to 'libs/bower_components/jquery/src/exports/global.js')
-rw-r--r-- | libs/bower_components/jquery/src/exports/global.js | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/libs/bower_components/jquery/src/exports/global.js b/libs/bower_components/jquery/src/exports/global.js index 8eee5bb7f0..be9cbfb3ab 100644 --- a/libs/bower_components/jquery/src/exports/global.js +++ b/libs/bower_components/jquery/src/exports/global.js @@ -1,9 +1,5 @@ -define([ - "../core", - "../var/strundefined" -], function( jQuery, strundefined ) { - var + // Map over jQuery in case of overwrite _jQuery = window.jQuery, @@ -22,11 +18,9 @@ jQuery.noConflict = function( deep ) { return jQuery; }; -// Expose jQuery and $ identifiers, even in -// AMD (#7102#comment:10, https://github.com/jquery/jquery/pull/557) +// Expose jQuery and $ identifiers, even in AMD +// (#7102#comment:10, https://github.com/jquery/jquery/pull/557) // and CommonJS for browser emulators (#13566) -if ( typeof noGlobal === strundefined ) { +if ( !noGlobal ) { window.jQuery = window.$ = jQuery; } - -}); |