From: Alex Lam S.L Date: Wed, 17 May 2017 06:07:34 +0000 (+0800) Subject: remove `space_colon` (#1960) X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=87c3a2c0ce2cfd86011d13688080a29520bb3c7f;p=UglifyJS.git remove `space_colon` (#1960) Always emit space after colon when `options.output.beautify` is enabled. --- diff --git a/lib/output.js b/lib/output.js index 0b98825f..b4d31b5b 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) {