- From: Martijn <martijn.martijn@gmail.com>
- Date: Wed, 20 Dec 2006 20:17:52 +0100
- To: "Robert Sayre" <sayrer@gmail.com>
- Cc: "Jim Ley" <jim@jibbering.com>, "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, Robert Sayre <sayrer@gmail.com> wrote: > > 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() So would thes popular JS libraries stop using those names if document.getElementById was called document.id for example? It seems to me they wouldn't as it would still be too long for their taste (the maximum length in these examples is 4 characters). > I guess that's the nice thing about getElementsBySelector. It's like > picking 6 names all at once. :) I don't think getElementsBySelector is picking 6 names at once at all. Regards, Martijn > -- > > Robert Sayre > > -- Martijn Wargers Help Mozilla! http://weblogs.mozillazine.org/qa/ http://www.mozilla.org/contribute/
Received on Wednesday, 20 December 2006 19:18:06 UTC