- Commit
- 711a42275a4f13cfafa771aeffa6771e0a904e91
- Parent
- 1f5e01bbacb790f8e1159d91d430e7bc023ffc98
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Removed a redundant condition.
My personal build of CMark ✏️
Removed a redundant condition.
1 file changed, 0 insertions, 4 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | js/lib/node.js | 4 | 0 | 4 |
diff --git 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;