public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba3df64
)
minor
author
Mihai Bazon
<mihai@bazon.net>
Fri, 12 Oct 2012 11:55:54 +0000
(14:55 +0300)
committer
Mihai Bazon
<mihai@bazon.net>
Fri, 12 Oct 2012 11:55:54 +0000
(14:55 +0300)
lib/transform.js
patch
|
blob
|
history
diff --git
a/lib/transform.js
b/lib/transform.js
index
2ba004e
..
976dd05
100644
(file)
--- a/
lib/transform.js
+++ b/
lib/transform.js
@@
-59,7
+59,7
@@
TreeTransformer.prototype = new TreeWalker;
node.DEFMETHOD("transform", function(tw, in_list){
var x, y;
tw.push(this);
- x = tw.before(this, descend, in_list);
+
if (tw.before)
x = tw.before(this, descend, in_list);
if (x === undefined) {
if (!tw.after) {
x = this;