8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
delete
1 parent 21eda2a commit bb553b8Copy full SHA for bb553b8
build/pre-compile.js
@@ -277,7 +277,7 @@
277
// remove whitespace from string literals
278
source = source.replace(/'(?:(?=(\\?))\1.)*?'/g, function(string) {
279
// avoids removing the '\n' of the `stringEscapes` object
280
- return string.replace(/\[object |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|function | in |return\s+[\w']|throw |typeof |use strict|var |@ |'\\n'|\\\\n|\\n|\s+/g, function(match) {
281
return match == false || match == '\\n' ? '' : match;
282
});
283
0 commit comments