From 55267a76b35181833295a5509daeef73d0833355 Mon Sep 17 00:00:00 2001 From: Demis Palma Date: Sat, 19 Dec 2015 18:16:43 +0000 Subject: [PATCH] Unneeded comma Removed last comma in object literals --- bin/uglifyjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/uglifyjs b/bin/uglifyjs index f7f22215..6fab9558 100755 --- a/bin/uglifyjs +++ b/bin/uglifyjs @@ -300,7 +300,7 @@ var SOURCES_CONTENT = {}; var SOURCE_MAP = ARGS.source_map ? UglifyJS.SourceMap({ file: P_RELATIVE ? path.relative(path.dirname(ARGS.source_map), OUTPUT_FILE) : OUTPUT_FILE, root: ARGS.source_map_root, - orig: ORIG_MAP, + orig: ORIG_MAP }) : null; OUTPUT_OPTIONS.source_map = SOURCE_MAP; @@ -353,7 +353,7 @@ async.eachLimit(files, 1, function (file, cb) { filename : file, toplevel : TOPLEVEL, expression : ARGS.expr, - bare_returns : ARGS.bare_returns, + bare_returns : ARGS.bare_returns }); } catch(ex) { if (ex instanceof UglifyJS.JS_Parse_Error) {