W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2013

RE: [DOM4] Short and Efficent DOM Traversal

From: Domenic Denicola <domenic@domenicdenicola.com>
Date: Sun, 28 Jul 2013 18:43:55 +0000
To: Fran├žois REMY <francois.remy.dev@outlook.com>, Tab Atkins Jr. <jackalmage@gmail.com>
CC: Jonas Sicking <jonas@sicking.cc>, "public-webapps@w3.org" <public-webapps@w3.org>, DOM WG <www-dom@w3.org>
Message-ID: <B4AE8F4E86E26C47AC407D49872F6F9F8786EF26@BY2PRD0510MB354.namprd05.prod.outlook.com>
From: Fran├žois REMY [mailto:francois.remy.dev@outlook.com]


> 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`.
Received on Sunday, 28 July 2013 18:44:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:03 UTC