Narrow the scope of regexes used in build.js to the functions they relate to.

Former-commit-id: 6d838b24778d5e2107f4f5b25613ae40f363e969
This commit is contained in:
John-David Dalton
2012-11-20 16:08:41 -06:00
parent e2b8e530c9
commit 77bac4cf9e
2 changed files with 238 additions and 171 deletions

View File

@@ -216,7 +216,6 @@
if (options.isTemplate) {
return source;
}
// remove copyright/license header to add later in post-compile.js
source = source.replace(/\/\*![\s\S]+?\*\//, '');