aboutsummaryrefslogtreecommitdiffstats
path: root/src/exports
diff options
context:
space:
mode:
authorChris Antaki <ChrisAntaki@gmail.com>2014-07-25 12:21:22 -0700
committerOleg Gaidarenko <markelog@gmail.com>2014-09-02 20:29:10 +0400
commit29838b6cab6f2e508f3e9692f32918c72b1a504b (patch)
tree88218579d00e9be461bb7f864b36fe681b487586 /src/exports
parent895ea6887dd02a44067d041db00c355c80e930a3 (diff)
downloadjquery-29838b6cab6f2e508f3e9692f32918c72b1a504b.tar.gz
jquery-29838b6cab6f2e508f3e9692f32918c72b1a504b.zip
Core: Drop strundefined variable
Diffstat (limited to 'src/exports')
-rw-r--r--src/exports/global.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/exports/global.js b/src/exports/global.js
index 6513287c6..1db41449d 100644
--- a/src/exports/global.js
+++ b/src/exports/global.js
@@ -1,7 +1,9 @@
define([
- "../core",
- "../var/strundefined"
-], function( jQuery, strundefined ) {
+ "../core"
+], function( jQuery ) {
+
+/* exported noGlobal */
+/* global noGlobal: false */
var
// Map over jQuery in case of overwrite
@@ -25,7 +27,7 @@ jQuery.noConflict = function( deep ) {
// Expose jQuery and $ identifiers, even in AMD
// (#7102#comment:10, https://github.com/jquery/jquery/pull/557)
// and CommonJS for browser emulators (#13566)
-if ( typeof noGlobal === strundefined ) {
+if ( !noGlobal ) {
window.jQuery = window.$ = jQuery;
}