Projet

Général

Profil

Paste
Télécharger (641 octets) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / libraries / flexslider-2.5.0 / bower_components / jquery / src / exports / global.js @ 0aee3c58

1
define([
2
        "../core",
3
        "../var/strundefined"
4
], function( jQuery, strundefined ) {
5

    
6
var
7
        // Map over jQuery in case of overwrite
8
        _jQuery = window.jQuery,
9

    
10
        // Map over the $ in case of overwrite
11
        _$ = window.$;
12

    
13
jQuery.noConflict = function( deep ) {
14
        if ( window.$ === jQuery ) {
15
                window.$ = _$;
16
        }
17

    
18
        if ( deep && window.jQuery === jQuery ) {
19
                window.jQuery = _jQuery;
20
        }
21

    
22
        return jQuery;
23
};
24

    
25
// Expose jQuery and $ identifiers, even in
26
// AMD (#7102#comment:10, https://github.com/jquery/jquery/pull/557)
27
// and CommonJS for browser emulators (#13566)
28
if ( typeof noGlobal === strundefined ) {
29
        window.jQuery = window.$ = jQuery;
30
}
31

    
32
});