summaryrefslogtreecommitdiff
path: root/js/lib/node.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/node.js')
-rw-r--r--js/lib/node.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/js/lib/node.js b/js/lib/node.js
index 89172d7..84fb122 100644
--- a/js/lib/node.js
+++ b/js/lib/node.js
@@ -44,10 +44,6 @@ NodeWalker.prototype.next = function(){
this.entering = false;
}
- } else if (!entering && cur === this.root) {
- // don't move past root
- this.current = null;
-
} else if (cur.next) {
this.current = cur.next;
this.entering = true;