Remove conditional exposure.

This commit is contained in:
John-David Dalton
2016-01-15 23:38:42 -08:00
parent 0edbd96bb5
commit 6bc58a16f6
2 changed files with 2 additions and 7 deletions

View File

@@ -282,9 +282,8 @@
underscoreModule = underscore.result(underscore, 'noConflict') || underscore; underscoreModule = underscore.result(underscore, 'noConflict') || underscore;
underscoreModule.moduleName = 'underscore'; underscoreModule.moduleName = 'underscore';
} }
if (ui.isModularize) { window._ = lodash;
window._ = lodash;
}
if (ui.isModularize) { if (ui.isModularize) {
require(getConfig(), [ require(getConfig(), [
'lodash/internal/baseEach', 'lodash/internal/baseEach',

View File

@@ -455,10 +455,6 @@
require(getConfig(), [moduleId], function(lodash) { require(getConfig(), [moduleId], function(lodash) {
mixinPrereqs(lodash); mixinPrereqs(lodash);
if (ui.isModularize) {
window._ = lodash;
}
require(getConfig(), [ require(getConfig(), [
'test/collections', 'test/collections',
'test/arrays', 'test/arrays',