minor
This commit is contained in:
@@ -698,9 +698,9 @@ function TreeWalker(callback) {
|
||||
TreeWalker.prototype = {
|
||||
_visit: function(node, descend) {
|
||||
this.stack.push(node);
|
||||
var ret = this.visit(node, function(){
|
||||
var ret = this.visit(node, descend ? function(){
|
||||
descend.call(node);
|
||||
});
|
||||
} : noop);
|
||||
if (!ret && descend) {
|
||||
descend.call(node);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user