[Pkg-javascript-commits] [uglifyjs] 77/491: remove `space_colon` (#1960)

Jonas Smedegaard dr at jones.dk
Wed Feb 14 19:51:23 UTC 2018


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

js pushed a commit to annotated tag debian/3.3.10-1
in repository uglifyjs.

commit 87c3a2c0ce2cfd86011d13688080a29520bb3c7f
Author: Alex Lam S.L <alexlamsl at gmail.com>
Date:   Wed May 17 14:07:34 2017 +0800

    remove `space_colon` (#1960)
    
    Always emit space after colon when `options.output.beautify` is enabled.
---
 lib/output.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/output.js b/lib/output.js
index 0b98825..b4d31b5 100644
--- a/lib/output.js
+++ b/lib/output.js
@@ -70,7 +70,6 @@ function OutputStream(options) {
         semicolons       : true,
         shebang          : true,
         source_map       : null,
-        space_colon      : true,
         unescape_regexps : false,
         width            : 80,
         wrap_iife        : false,
@@ -357,7 +356,7 @@ function OutputStream(options) {
 
     function colon() {
         print(":");
-        if (options.space_colon) space();
+        space();
     };
 
     var add_mapping = options.source_map ? function(token, name) {

-- 
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