scratch
/bower_components/jquery/src/exports/amd.js |
@@ -1,9 +1,7 @@ |
define( [ |
define([ |
"../core" |
], function( jQuery ) { |
|
"use strict"; |
|
// Register as a named AMD module, since jQuery can be concatenated with other |
// files that may use define, but not via a proper concatenation script that |
// understands anonymous AMD modules. A named AMD is safest and most robust |
@@ -20,7 +18,7 @@ |
if ( typeof define === "function" && define.amd ) { |
define( "jquery", [], function() { |
return jQuery; |
} ); |
}); |
} |
|
} ); |
}); |
/bower_components/jquery/src/exports/global.js |
@@ -1,11 +1,9 @@ |
define( [ |
"../core" |
], function( jQuery, noGlobal ) { |
define([ |
"../core", |
"../var/strundefined" |
], function( jQuery, strundefined ) { |
|
"use strict"; |
|
var |
|
// Map over jQuery in case of overwrite |
_jQuery = window.jQuery, |
|
@@ -27,8 +25,8 @@ |
// Expose jQuery and $ identifiers, even in AMD |
// (#7102#comment:10, https://github.com/jquery/jquery/pull/557) |
// and CommonJS for browser emulators (#13566) |
if ( !noGlobal ) { |
if ( typeof noGlobal === strundefined ) { |
window.jQuery = window.$ = jQuery; |
} |
|
} ); |
}); |