Remove unused snippet from pre-compile.js.

Former-commit-id: d52c35eed1ccd611f728febfca5b5154440e9fb0
This commit is contained in:
John-David Dalton
2013-02-12 00:24:37 -08:00
parent d9c95e7730
commit d287ecbb34

View File

@@ -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, '');