public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d3fd2e
)
fix #51
author
Mihai Bazon
<mihai@bazon.net>
Sun, 18 Nov 2012 15:37:45 +0000
(17:37 +0200)
committer
Mihai Bazon
<mihai@bazon.net>
Sun, 18 Nov 2012 15:37:45 +0000
(17:37 +0200)
lib/transform.js
patch
|
blob
|
history
diff --git
a/lib/transform.js
b/lib/transform.js
index
976dd05
..
8b4fd9f
100644
(file)
--- a/
lib/transform.js
+++ b/
lib/transform.js
@@
-65,7
+65,7
@@
TreeTransformer.prototype = new TreeWalker;
x = this;
descend(x, tw);
} else {
- tw.stack[tw.stack - 1] = x = this.clone();
+ tw.stack[tw.stack
.length
- 1] = x = this.clone();
descend(x, tw);
y = tw.after(x, in_list);
if (y !== undefined) x = y;