Ensure build tests pass.

Former-commit-id: 9b91f0d884fe96dce1df34a6c0b659619276b83e
This commit is contained in:
John-David Dalton
2012-09-29 03:41:00 -07:00
parent a9dddb6066
commit 6a9efd8ac6
3 changed files with 8 additions and 5 deletions

View File

@@ -274,7 +274,7 @@
// remove whitespace from string literals
source = source.replace(/'(?:(?=(\\?))\1.)*?'/g, function(string) {
// avoids removing the '\n' of the `stringEscapes` object
return string.replace(/\[object |delete |else if|function | in |return\s+[\w']|throw |typeof |use strict|var |@ |'\\n'|\\\\n|\\n|\s+/g, function(match) {
return string.replace(/\[object |delete |else if|else var |function | in |return\s+[\w']|throw |typeof |use strict|var |@ |'\\n'|\\\\n|\\n|\s+/g, function(match) {
return match == false || match == '\\n' ? '' : match;
});
});