Remove noNodeClass from "mobile" and "csp" builds.

Former-commit-id: 0773f7b1c1ea637d0d519a3015d1534863a9be11
This commit is contained in:
John-David Dalton
2012-07-29 23:54:52 -07:00
parent 95bd1b014f
commit 896b8f7cf1
2 changed files with 11 additions and 2 deletions

View File

@@ -277,7 +277,7 @@
.replace("') {\\n'", "'){'")
// remove `useSourceURL` variable
source = source.replace(/(?:\n +\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\/)?\n *try *\{(?:\s*\/\/.*\n)* *var useSourceURL[\s\S]+?catch[^}]+}\n/, '');
source = source.replace(/(?:\n +\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\/)?\n *try *\{(?:\s*\/\/.*)*\n *var useSourceURL[\s\S]+?catch[^}]+}\n/, '');
// remove debug sourceURL use in `_.template`
source = source.replace(/(?:\s*\/\/.*\n)* *if *\(useSourceURL[^}]+}/, '');