From: Mihai Bazon Date: Mon, 4 May 2015 14:55:42 +0000 (+0300) Subject: Fix blank lines in the output. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=4aed0830e5c1e5dabf05c0db4366c965fe952ced;p=UglifyJS.git Fix blank lines in the output. The issue was more obvious when max_line_len has a small value, rather than the default 32K characters. A blank line showed up after most statements. --- diff --git a/lib/output.js b/lib/output.js index 135636b9..1d67b1b9 100644 --- a/lib/output.js +++ b/lib/output.js @@ -176,7 +176,6 @@ function OutputStream(options) { might_need_space = false; } might_need_semicolon = false; - maybe_newline(); } if (!options.beautify && options.preserve_line && stack[stack.length - 1]) {