From 265dedfae1e50ad28506b7383005f91ea36b7724 Mon Sep 17 00:00:00 2001 From: Kit Cambridge Date: Thu, 14 Feb 2013 17:36:43 -0800 Subject: [PATCH] Fix typo that caused `sourceMappingURL` to be `undefined` in source map builds. Former-commit-id: ff3b22a7965c15a1ae072f8e9d51009e095ec443 --- build/minify.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/minify.js b/build/minify.js index becc7fca6..79ad25c75 100755 --- a/build/minify.js +++ b/build/minify.js @@ -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];