scratch – Diff between revs 58 and 125

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 58 Rev 125
Line 1... Line 1...
1 define( [ 1 define([
2 "../core" 2 "../core",
-   3 "../var/strundefined"
3 ], function( jQuery, noGlobal ) { 4 ], function( jQuery, strundefined ) {
4   -  
5 "use strict"; -  
Line 6... Line 5...
6   5  
7 var -  
8   6 var
9 // Map over jQuery in case of overwrite 7 // Map over jQuery in case of overwrite
Line 10... Line 8...
10 _jQuery = window.jQuery, 8 _jQuery = window.jQuery,
11   9  
Line 25... Line 23...
25 }; 23 };
Line 26... Line 24...
26   24  
27 // Expose jQuery and $ identifiers, even in AMD 25 // Expose jQuery and $ identifiers, even in AMD
28 // (#7102#comment:10, https://github.com/jquery/jquery/pull/557) 26 // (#7102#comment:10, https://github.com/jquery/jquery/pull/557)
29 // and CommonJS for browser emulators (#13566) 27 // and CommonJS for browser emulators (#13566)
30 if ( !noGlobal ) { 28 if ( typeof noGlobal === strundefined ) {
31 window.jQuery = window.$ = jQuery; 29 window.jQuery = window.$ = jQuery;
Line 32... Line 30...
32 } 30 }