Remove the useSourceURL variable from the minified build.

Former-commit-id: c0f02e7e87c533220a99ebe99c9ee08516fb9deb
This commit is contained in:
John-David Dalton
2012-06-12 20:15:52 -04:00
parent 62e7da9d8a
commit 3f07d3ec55
3 changed files with 32 additions and 29 deletions

View File

@@ -587,10 +587,10 @@
source = removeVar(source, 'iteratorTemplate');
// remove JScript [[DontEnum]] fix from `isEqual`
source = source.replace(/(?:\s*\/\/.*\n)*( +)if *\(result *&& *hasDontEnumBug[\s\S]+?\n\1}\n/, '\n');
source = source.replace(/(?:\s*\/\/.*\n)*( +)if *\(result *&& *hasDontEnumBug[\s\S]+?\n\1}/, '');
// remove IE `shift` and `splice` fix
source = source.replace(/(?:\s*\/\/.*\n)*( +)if *\(value.length *=== *0[\s\S]+?\n\1}\n/, '\n');
source = source.replace(/(?:\s*\/\/.*\n)*( +)if *\(value.length *=== *0[\s\S]+?\n\1}/, '');
}
else {
// inline `iteratorTemplate` template