diff --git a/test/backbone.html b/test/backbone.html index 94404469c..dad68832b 100644 --- a/test/backbone.html +++ b/test/backbone.html @@ -117,9 +117,6 @@ QUnit.config.autostart = false; require(getConfig(), ['underscore', 'backbone'], function(lodash) { - ui.isStrict || (ui.isStrict = 'default' in lodash); - lodash = (lodash['default'] || lodash); - mixinPrereqs(lodash); if (ui.isModularize) { diff --git a/test/index.html b/test/index.html index 74294700d..9a271845b 100644 --- a/test/index.html +++ b/test/index.html @@ -358,15 +358,9 @@ function loadModulesAndTests() { require(getConfig(), ['lodash', 'shimmed', 'underscore'], function(lodash, shimmed, underscore) { - ui.isStrict || (ui.isStrict = 'default' in lodash); - lodash = lodash['default'] || lodash; - lodashModule = lodash; lodashModule.moduleName = 'lodash'; - shimmed = shimmed && (shimmed['default'] || shimmed); - underscore = underscore && (underscore['default'] || underscore); - if (shimmed && shimmed.noConflict) { shimmedModule = shimmed.noConflict(); shimmedModule.moduleName = 'shimmed'; @@ -380,7 +374,7 @@ } if (ui.isModularize) { require(getConfig(), ['lodash/internal/baseEach'], function(baseEach) { - lodash._baseEach = baseEach['default'] || baseEach; + lodash._baseEach = baseEach; loadTests(); }); } else { @@ -394,7 +388,7 @@ if (window.requirejs) { addBizarroMethods(); require(getConfig(), ['lodash'], function(lodash) { - lodashBizarro = (lodash['default'] || lodash).noConflict(); + lodashBizarro = lodash.noConflict(); delete requirejs.s.contexts._; removeBizarroMethods(); diff --git a/test/underscore.html b/test/underscore.html index b1332dcdb..1dd34ed41 100644 --- a/test/underscore.html +++ b/test/underscore.html @@ -252,9 +252,6 @@ QUnit.config.autostart = false; require(getConfig(), [moduleId], function(lodash) { - ui.isStrict || (ui.isStrict = 'default' in lodash); - lodash = (lodash['default'] || lodash); - if (ui.isModularize) { window._ = lodash; }