public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86cfb5b
)
if present, the `else` in an `if` should always be forced statement
author
Mihai Bazon
<mihai@bazon.net>
Tue, 4 Sep 2012 10:17:13 +0000
(13:17 +0300)
committer
Mihai Bazon
<mihai@bazon.net>
Tue, 4 Sep 2012 10:17:13 +0000
(13:17 +0300)
lib/output.js
patch
|
blob
|
history
diff --git
a/lib/output.js
b/lib/output.js
index
98bc983
..
e5c1c26
100644
(file)
--- a/
lib/output.js
+++ b/
lib/output.js
@@
-649,7
+649,7
@@
function OutputStream(options) {
output.space();
output.print("else");
output.space();
-
self.alternative.print(
output);
+
force_statement(self.alternative,
output);
} else {
self._do_print_body(output);
}