[Pkg-javascript-commits] [uglifyjs] 18/26: Use uglify source map token names if missing

Jonas Smedegaard dr at jones.dk
Tue May 19 00:02:22 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag v2.4.16
in repository uglifyjs.

commit 21b3c890a1dab21156f358bf388a2f9f507d1711
Author: Jacob Kristhammar <kristhammar at gmail.com>
Date:   Tue Sep 9 13:02:50 2014 +0200

    Use uglify source map token names if missing
---
 lib/sourcemap.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/sourcemap.js b/lib/sourcemap.js
index 663ef12..948e3b3 100644
--- a/lib/sourcemap.js
+++ b/lib/sourcemap.js
@@ -70,7 +70,7 @@ function SourceMap(options) {
             source = info.source;
             orig_line = info.line;
             orig_col = info.column;
-            name = info.name;
+            name = info.name || name;
         }
         generator.addMapping({
             generated : { line: gen_line + options.dest_line_diff, column: gen_col },

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git



More information about the Pkg-javascript-commits mailing list