diff options
Diffstat (limited to 'js/vendor/jquery/src/exports/global.js')
-rw-r--r-- | js/vendor/jquery/src/exports/global.js | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/js/vendor/jquery/src/exports/global.js b/js/vendor/jquery/src/exports/global.js index 6513287c6..be9cbfb3a 100644 --- a/js/vendor/jquery/src/exports/global.js +++ b/js/vendor/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, @@ -25,8 +21,6 @@ jQuery.noConflict = function( deep ) { // 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; } - -}); |