[Pkg-javascript-commits] [uglifyjs] 12/28: Better fix for #475
Jonas Smedegaard
dr at jones.dk
Thu Oct 16 11:57:30 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository uglifyjs.
commit 025f3e9596e336ed4367d8621c920a236d6e4c17
Author: Mihai Bazon <mihai at bazon.net>
Date: Sun Apr 27 20:54:54 2014 +0300
Better fix for #475
---
lib/output.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/output.js b/lib/output.js
index 4a3bfd5..26f230a 100644
--- a/lib/output.js
+++ b/lib/output.js
@@ -456,7 +456,7 @@ function OutputStream(options) {
PARENS(AST_Unary, function(output){
var p = output.parent();
return (p instanceof AST_PropAccess && p.expression === this)
- || (p instanceof AST_Unary && p.operator == "+" && this.operator == "+");
+ || (p instanceof AST_Unary && p.operator == this.operator);
});
PARENS(AST_Seq, function(output){
--
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