From 29838b6cab6f2e508f3e9692f32918c72b1a504b Mon Sep 17 00:00:00 2001 From: Chris Antaki Date: Fri, 25 Jul 2014 12:21:22 -0700 Subject: Core: Drop strundefined variable --- src/exports/global.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/exports') 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; } -- cgit v1.2.3