W3C home > Mailing lists > Public > public-webapi@w3.org > December 2006

Re: Selectors API naming

From: Robert Sayre <sayrer@gmail.com>
Date: Wed, 20 Dec 2006 14:10:15 -0500
Message-ID: <68fba5c50612201110n771dfb08t887cd3cebfd7df3@mail.gmail.com>
To: "Jim Ley" <jim@jibbering.com>
Cc: "Chris Wilson" <Chris.Wilson@microsoft.com>, "Ian Hickson" <ian@hixie.ch>, "Dave Massy" <dave.massy@microsoft.com>, "Anne van Kesteren" <annevk@opera.com>, "Web API WG (public)" <public-webapi@w3.org>

On 12/20/06, Jim Ley <jim@jibbering.com> wrote:
> No, one group of JS programmers do that, it is not representative of the
> entire industry at all

Mappings to getElementById in some popular JS libraries:

Yahoo UI: get()
Prototype.js: $()
MochiKit: $()
dojo: byId()

etc, etc.

I guess that's the nice thing about getElementsBySelector. It's like
picking 6 names all at once. :)


Robert Sayre
Received on Wednesday, 20 December 2006 19:10:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:22 UTC