Selectors: name find method and find signature

If we are going to return an Array subclass as the new way to
represent a collection of Element objects, we cannot use the name find
as it is already used by Array. select and selectAll would be better
names.

In http://krijnhoetmer.nl/irc-logs/whatwg/20130807 Domenic and I also
discussed the signature of the find method. If we're going to return
an Array subclass that has the find method on it, why we do need the
second argument? Especially if you can create your own instances of
that Array subclass (and you will) it does not seem necessary at all.

Thoughts?


-- 
http://annevankesteren.nl/

Received on Wednesday, 11 September 2013 11:28:24 UTC