On Jan 9, 2007, at 2:08 PM, Anne van Kesteren wrote:
I updated the Selectors API specification today and added
equivalent methods for element nodes. It didn't make much sense to
me to postpone this.
I resolved the naming debate by going for:
* Document.get()
* Document.getAll()
* Element.get()
* Element.getAll()
These names are short, don't clash with autocomplete and provide a
superset of the functionality given by the other get* methods.
+1.
I think short names will be good for readability of DOM code, if
these methods become as widely used as we expect. And they will do a
lot towards making standard DOM methods competitive in conciseness
and ease of use with "DOM Level 0" APIs.
Regards,
Maciej