public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2dda34
)
Fix blank lines in the output.
author
Mihai Bazon
<mihai.bazon@gmail.com>
Mon, 4 May 2015 14:55:42 +0000
(17:55 +0300)
committer
Mihai Bazon
<mihai.bazon@gmail.com>
Mon, 4 May 2015 14:55:42 +0000
(17:55 +0300)
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
patch
|
blob
|
history
diff --git
a/lib/output.js
b/lib/output.js
index
135636b
..
1d67b1b
100644
(file)
--- 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]) {