Finish making tests runnable for lodash-amd.

This commit is contained in:
John-David Dalton
2013-09-03 23:37:53 -05:00
parent 6ed7ef25b2
commit f462f87183
3 changed files with 35 additions and 14 deletions

View File

@@ -74,7 +74,7 @@
}());
// used to indicate testing a modularized build
ui.isModularize = /\b(?:lodash-(?:amd|node)|modularize)\b/.test(ui.buildPath);
ui.isModularize = /\b(?:lodash-(?:amd|node)|modularize)\b/.test([location.pathname, location.search, ui.buildPath]);
// initialize controls
addListener(window, 'load', function() {