Re: [DOM4] Short and Efficent DOM Traversal

On Sat, Jul 27, 2013 at 9:49 PM, François REMY
<francois.remy.dev@outlook.com> wrote:
> Is there any reason everybody hate TreeWalker?

I hate TreeWalker because it's an iterator but not an ES Iterator.
DOM is broken, legacy cruft, etc.

I'm fine with something that exposes TreeWalker's abilities to start
from a given node, but that returns an ES iterator, like Domenic says.

Given that we can overload the arguments, as you describe, I'm okay
with reusing the existing method for this.

~TJ

Received on Sunday, 28 July 2013 16:07:19 UTC