diff --git a/build/pre-compile.js b/build/pre-compile.js index 5f6bd98e9..e73f64b5d 100644 --- a/build/pre-compile.js +++ b/build/pre-compile.js @@ -245,9 +245,6 @@ return (captured || '') + string; }); - // add newline to `body + '}'` in `createFunction` - source = source.replace(/body *\+ *'}'/, 'body+"\\n}"'); - // remove whitespace from `_.template` related regexes source = source.replace(/(?:reEmptyString\w+|reInsertVariable) *=.+/g, function(match) { return match.replace(/ |\\n/g, '');