RE: [DOM4] Short and Efficent DOM Traversal
Domenic Denicola <[email protected]>
| Newsgroups | gmane.comp.web.dom.general,gmane.org.w3c.webapps |
|---|---|
| Message-ID | <B4AE8F4E86E26C47AC407D49872F6F9F8786EF26@BY2PRD0510MB354.namprd05.prod.outlook.com> |
From: François REMY [mailto:[email protected]] > If I'm not mistaken, all it takes for this to work is to add an .iterator() function on the TreeWalker/NodeIterator interface `.iterator()` is a nonstandard Mozilla-ism; the spec calls for a field named by the well-known unique symbol `@@iterator`.