public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08219f0
)
Optimize new Array(1, 2, 3) → [1, 2, 3]
author
Mihai Bazon
<mihai@bazon.net>
Fri, 21 Dec 2012 19:04:15 +0000
(21:04 +0200)
committer
Mihai Bazon
<mihai@bazon.net>
Fri, 21 Dec 2012 19:04:35 +0000
(21:04 +0200)
Close #74
lib/compress.js
patch
|
blob
|
history
diff --git
a/lib/compress.js
b/lib/compress.js
index
9387a82
..
0f3a795
100644
(file)
--- a/
lib/compress.js
+++ b/
lib/compress.js
@@
-1601,7
+1601,7
@@
merge(Compressor.prototype, {
case "Function":
case "Error":
case "Array":
- return make_node(AST_Call, self, self);
+ return make_node(AST_Call, self, self)
.transform(compressor)
;
}
}
}