corrade-nucleus-nucleons – Blame information for rev
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | define( [ |
2 | "../core" |
||
3 | ], function( jQuery, noGlobal ) { |
||
4 | |||
5 | "use strict"; |
||
6 | |||
7 | var |
||
8 | |||
9 | // Map over jQuery in case of overwrite |
||
10 | _jQuery = window.jQuery, |
||
11 | |||
12 | // Map over the $ in case of overwrite |
||
13 | _$ = window.$; |
||
14 | |||
15 | jQuery.noConflict = function( deep ) { |
||
16 | if ( window.$ === jQuery ) { |
||
17 | window.$ = _$; |
||
18 | } |
||
19 | |||
20 | if ( deep && window.jQuery === jQuery ) { |
||
21 | window.jQuery = _jQuery; |
||
22 | } |
||
23 | |||
24 | return jQuery; |
||
25 | }; |
||
26 | |||
27 | // Expose jQuery and $ identifiers, even in AMD |
||
28 | // (#7102#comment:10, https://github.com/jquery/jquery/pull/557) |
||
29 | // and CommonJS for browser emulators (#13566) |
||
30 | if ( !noGlobal ) { |
||
31 | window.jQuery = window.$ = jQuery; |
||
32 | } |
||
33 | |||
34 | } ); |