W3C home > Mailing lists > Public > public-device-apis@w3.org > December 2009

Re: [contacts] Comments on editors draft of Contacts API

From: Robin Berjon <robin@robineko.com>
Date: Tue, 1 Dec 2009 15:25:58 +0100
Cc: Dominique Hazael-Massieux <dom@w3.org>, "richard.tibbett" <richard.tibbett@orange-ftgroup.com>, public-device-apis <public-device-apis@w3.org>
Message-Id: <B0AAFE9B-4DD0-46DB-8655-5714D275FACD@robineko.com>
To: Brian LeRoux <brian@westcoastlogic.com>
On Nov 30, 2009, at 19:58 , Brian LeRoux wrote:
> We where going to look at a syntax such as: Contacts.find({name:'brian
> leroux'}, success, fail); (only supporting name until a future where
> more robust search is capable. this interface would be forwards
> compatible.)

How does the matching work in effect? If I Contacts.find({name: "br"}...) do I get "Brian Leroux" and "Britney Spears"? Nothing? Also "Chupa CaBRa"? In order? Or is this undefined?

--
Robin Berjon
  robineko  hired gun, higher standards
  http://robineko.com/
Received on Tuesday, 1 December 2009 14:26:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:14:02 GMT