diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-05-17 14:07:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-17 14:07:34 +0800 |
commit | 87c3a2c0ce2cfd86011d13688080a29520bb3c7f (patch) | |
tree | d6c22f8c4bf5648bf049360e2daed02a399a4f7f /lib/output.js | |
parent | baef8bf050fd8b4e733e11301912b61470fe61f3 (diff) | |
download | tracifyjs-87c3a2c0ce2cfd86011d13688080a29520bb3c7f.tar.gz tracifyjs-87c3a2c0ce2cfd86011d13688080a29520bb3c7f.zip |
remove `space_colon` (#1960)
Always emit space after colon when `options.output.beautify` is enabled.
Diffstat (limited to 'lib/output.js')
-rw-r--r-- | lib/output.js | 3 |
1 files changed, 1 insertions, 2 deletions
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) { |