Re: Selectors: name find method and find signature

On Wed, Sep 11, 2013 at 12:27 PM, Anne van Kesteren <annevk@annevk.nl> wrote:
> 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.

<input> has select(). Domenic suggests query()/queryAll().


In other news, I put querySelector()/querySelectorAll() in DOM as
hinted at long ago: http://dom.spec.whatwg.org/#parentnode In due
course http://dev.w3.org/csswg/selectors/ will be updated with the
hooks my new text hints at.


-- 
http://annevankesteren.nl/

Received on Wednesday, 11 September 2013 16:00:46 UTC