This commit is contained in:
Mihai Bazon
2012-10-12 14:55:54 +03:00
parent ba3df646c0
commit 8149be551e

View File

@@ -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;