Fix typo that caused sourceMappingURL to be undefined in source map builds.

Former-commit-id: ff3b22a7965c15a1ae072f8e9d51009e095ec443
This commit is contained in:
Kit Cambridge
2013-02-14 17:36:43 -08:00
parent 5ddbb8bc56
commit 265dedfae1

View File

@@ -304,10 +304,10 @@
function closureCompile(source, mode, callback) {
var filePath = this.filePath,
isAdvanced = mode == 'advanced',
outputPath = this.outputPath,
isMapped = this.isMapped,
mapPath = getMapPath(outputPath),
options = closureOptions.slice(),
outputPath = this.outputPath;
options = closureOptions.slice();
// remove copyright header to make other modifications easier
var license = (/^(?:\s*\/\/.*\s*|\s*\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\/\s*)*/.exec(source) || [''])[0];