diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-09 22:32:32 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-09 23:17:00 -0800 |
commit | 711a42275a4f13cfafa771aeffa6771e0a904e91 (patch) | |
tree | 77c3a63e6f6bf30bf1dc8a27f253ad9eb9c489ca | |
parent | 1f5e01bbacb790f8e1159d91d430e7bc023ffc98 (diff) |
Removed a redundant condition.
-rw-r--r-- | js/lib/node.js | 4 |
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; |