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

Re: [selectors api] Why two methods?

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 27 Jan 2007 17:54:33 -0500
To: David Håsäther <hasather@gmail.com>
Cc: public-webapi@w3.org
Message-ID: <op.tmt4k7pp64w2qv@id-c0020.nomadprime.subscribe.loganwifi.com>

On Thu, 25 Jan 2007 15:04:52 -0500, David Håsäther <hasather@gmail.com>  
wrote:
> Yes, but grabbing the first node has its own method. Grabbing the second  
> or last does not. What I don't understand is _why_ there is a special  
> method for grabbing the first node? I just don't think that is a common  
> thing to do, and as Jim said, those nodes usually have an id.

It's not about getting the first node, as demonstrated. It's about getting  
a single node.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Saturday, 27 January 2007 22:54:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:56 GMT