[Pkg-javascript-commits] [uglifyjs] 106/228: temporary fix for boolean bug (#1597)
Jonas Smedegaard
dr at jones.dk
Sat Apr 15 14:25:21 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository uglifyjs.
commit e3a3db73ae4c2c90ad304e1e6b7d019053ca3dc3
Author: Alex Lam S.L <alexlamsl at gmail.com>
Date: Sat Mar 11 04:59:55 2017 +0800
temporary fix for boolean bug (#1597)
fixes #1592
---
lib/compress.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/compress.js b/lib/compress.js
index 7302f5b..e3ae5bd 100644
--- a/lib/compress.js
+++ b/lib/compress.js
@@ -404,7 +404,7 @@ merge(Compressor.prototype, {
return make_node(AST_Number, orig, { value: val });
case "boolean":
- return make_node(val ? AST_True : AST_False, orig).transform(compressor);
+ return make_node(val ? AST_True : AST_False, orig).optimize(compressor);
case "undefined":
return make_node(AST_Undefined, orig).transform(compressor);
default:
--
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