xonecas.io
286
Sf

simple-flask-coffee-sass-boilerplate / files

simple-flask-coffee-sass-boilerplate / bower_components / jquery / src / exports / global.js

641 bytes
1define([
2	"../core",
3	"../var/strundefined"
4], function( jQuery, strundefined ) {
5
6var
7	// Map over jQuery in case of overwrite
8	_jQuery = window.jQuery,
9
10	// Map over the $ in case of overwrite
11	_$ = window.$;
12
13jQuery.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)
28if ( typeof noGlobal === strundefined ) {
29	window.jQuery = window.$ = jQuery;
30}
31
32});