diff --git a/test/index.html b/test/index.html
index 6a3472e70..3a2b8b1ab 100644
--- a/test/index.html
+++ b/test/index.html
@@ -52,9 +52,18 @@
}
window.require && require(
(function() {
- var modulePath = ui.buildPath.replace(/\.js$/, '');
+ var reModularize = /modularize/;
+
+ var baseUrl = reModularize.test(ui.urlParams.build)
+ ? '../modularize/'
+ : '';
+
+ var modulePath = reModularize.test(ui.urlParams.build)
+ ? 'lodash'
+ : ui.buildPath.replace(/\.js$/, '');
+
return {
- 'baseUrl': (/modularize/.test(ui.urlParams.build) ? 'modularize/' : ''),
+ 'baseUrl': baseUrl,
'urlArgs': 't=' + (+new Date),
'paths': {
'lodash': modulePath,
diff --git a/test/underscore.html b/test/underscore.html
index 5fd8e650b..785efe1dc 100644
--- a/test/underscore.html
+++ b/test/underscore.html
@@ -19,34 +19,31 @@
+
-
-
+
-
-
-
-
-
-