From 6bc58a16f604600a987d56d46418b9e37d5e4232 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Fri, 15 Jan 2016 23:38:42 -0800 Subject: [PATCH] Remove conditional exposure. --- test/index.html | 5 ++--- test/underscore.html | 4 ---- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/test/index.html b/test/index.html index 00cadc606..26ad54d9f 100644 --- a/test/index.html +++ b/test/index.html @@ -282,9 +282,8 @@ underscoreModule = underscore.result(underscore, 'noConflict') || underscore; underscoreModule.moduleName = 'underscore'; } - if (ui.isModularize) { - window._ = lodash; - } + window._ = lodash; + if (ui.isModularize) { require(getConfig(), [ 'lodash/internal/baseEach', diff --git a/test/underscore.html b/test/underscore.html index 468fef3ec..c9d95f23e 100644 --- a/test/underscore.html +++ b/test/underscore.html @@ -455,10 +455,6 @@ require(getConfig(), [moduleId], function(lodash) { mixinPrereqs(lodash); - - if (ui.isModularize) { - window._ = lodash; - } require(getConfig(), [ 'test/collections', 'test/arrays',