1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/dashboard-ui/bower_components/jquery/src/exports/global.js

35 lines
706 B
JavaScript
Raw Normal View History

2016-06-11 11:55:39 -04:00
/* ExcludeStart */
// This file is included in a different way from all the others
// so the "use strict" pragma is not needed.
2016-07-08 14:10:20 -04:00
/* eslint strict: "off" */
2016-06-11 11:55:39 -04:00
/* ExcludeEnd */
2015-06-26 11:53:49 -04:00
var
2016-01-09 13:36:35 -05:00
2015-06-26 11:53:49 -04:00
// Map over jQuery in case of overwrite
_jQuery = window.jQuery,
// Map over the $ in case of overwrite
_$ = window.$;
jQuery.noConflict = function( deep ) {
if ( window.$ === jQuery ) {
window.$ = _$;
}
if ( deep && window.jQuery === jQuery ) {
window.jQuery = _jQuery;
}
return jQuery;
};
// Expose jQuery and $ identifiers, even in AMD
// (#7102#comment:10, https://github.com/jquery/jquery/pull/557)
// and CommonJS for browser emulators (#13566)
2016-01-09 13:36:35 -05:00
if ( !noGlobal ) {
2015-06-26 11:53:49 -04:00
window.jQuery = window.$ = jQuery;
}