Update isModularize and isStrict detection.

This commit is contained in:
John-David Dalton
2015-01-10 14:18:37 -08:00
committed by jdalton
parent 2ca75970c0
commit 5aaa0a7b5f
2 changed files with 6 additions and 6 deletions

View File

@@ -94,8 +94,8 @@
var ui = root.ui || (root.ui = {
'buildPath': filePath,
'loaderPath': '',
'isModularize': /\b(?:commonjs|(index|main)\.js|lodash-(?:amd|es6|node)|modularize|npm|transpiled)\b/.test(filePath),
'isStrict': /\b(?:lodash-es6|transpiled)\b/.test(filePath),
'isModularize': /\b(?:amd|commonjs|es6|node|npm|(index|main)\.js)\b/.test(filePath),
'isStrict': /\bes6\b/.test(filePath),
'urlParams': {}
});