W3C home > Mailing lists > Public > public-webapi@w3.org > January 2007

[selectors api] Why two methods?

From: David Håsäther <hasather@gmail.com>
Date: Thu, 25 Jan 2007 20:39:46 +0100
Message-ID: <45B90782.3010500@gmail.com>
To: public-webapi@w3.org

Why does the Selectors API define two methods for retrieving nodes?

I understand that there are speed gains by having a method that grabs
just the first node, but how often do you want to do that? Don't you
want to grab the second node as often? Or the last?

David Håsäther
Received on Thursday, 25 January 2007 19:40:09 UTC

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