[Pkg-javascript-commits] [uglifyjs] 10/11: Fix blank lines in the output.

Jonas Smedegaard dr at jones.dk
Tue May 19 00:02:48 UTC 2015


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

js pushed a commit to tag v2.4.21
in repository uglifyjs.

commit 4aed0830e5c1e5dabf05c0db4366c965fe952ced
Author: Mihai Bazon <mihai.bazon at gmail.com>
Date:   Mon May 4 17:55:42 2015 +0300

    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.
---
 lib/output.js | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/output.js b/lib/output.js
index 135636b..1d67b1b 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]) {

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