Re: [DOM4] Short and Efficent DOM Traversal
"Tab Atkins Jr." <[email protected]>
| Newsgroups | gmane.comp.web.dom.general,gmane.org.w3c.webapps |
|---|---|
| Message-ID | <CAAWBYDCh4EDzJh6q6S2op41p8jaSk4==ppCrTh743S85mdfi=Q@mail.gmail.com> |
On Sat, Jul 27, 2013 at 9:49 PM, François REMY <[email protected]> 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