[Pkg-javascript-commits] [uglifyjs] 452/491: backport of #2835 (#2841)
Jonas Smedegaard
dr at jones.dk
Wed Feb 14 19:52:03 UTC 2018
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag debian/3.3.10-1
in repository uglifyjs.
commit 95cfce68eae6173a76e8f01fae08a91f5d8996d2
Author: Alex Lam S.L <alexlamsl at gmail.com>
Date: Tue Jan 23 05:45:45 2018 +0800
backport of #2835 (#2841)
---
lib/compress.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/compress.js b/lib/compress.js
index a8fa0e1..33b4313 100644
--- a/lib/compress.js
+++ b/lib/compress.js
@@ -1642,7 +1642,7 @@ merge(Compressor.prototype, {
var stat = null;
for (var i = 0, len = block.body.length; i < len; i++) {
var line = block.body[i];
- if (line instanceof AST_Definitions && declarations_only(line)) {
+ if (line instanceof AST_Var && declarations_only(line)) {
decls.push(line);
} else if (stat) {
return false;
--
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