remove space_colon (#1960)

Always emit space after colon when `options.output.beautify` is enabled.
This commit is contained in:
Alex Lam S.L
2017-05-17 14:07:34 +08:00
committed by GitHub
parent baef8bf050
commit 87c3a2c0ce

View File

@@ -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) {