Rename ES6 to ES in tests.

This commit is contained in:
jdalton
2015-01-22 23:37:10 -08:00
parent 9563b5a7df
commit d28ca4eda7
2 changed files with 4 additions and 4 deletions

View File

@@ -128,13 +128,13 @@
ui.isForeign = RegExp('^(\\w+:)?//').test(build);
// Used to indicate testing a modularized build.
ui.isModularize = /\b(?:amd|commonjs|es6|node|npm|(index|main)\.js)\b/.test([location.pathname, location.search]);
ui.isModularize = /\b(?:amd|commonjs|es6?|node|npm|(index|main)\.js)\b/.test([location.pathname, location.search]);
// Used to indicate testing in Sauce Labs' automated test cloud.
ui.isSauceLabs = location.port == '9001';
// Used to indicate that Lo-Dash is in strict mode.
ui.isStrict = /\bes6\b/.test([location.pathname, location.search]);
ui.isStrict = /\bes6?\b/.test([location.pathname, location.search]);
// The Lo-Dash build file path.
ui.buildPath = (function() {