- From: Cameron McCormack <cam@mcc.id.au>
- Date: Thu, 25 Aug 2011 17:00:58 +1200
- To: Andreas Gal <gal@mozilla.com>
- CC: public-device-apis@w3.org
On 25/08/11 4:47 PM, Andreas Gal wrote: > How can I pass an optional options object here of type ContactFindOptions if I don't have a constructor in the bindings to instantiate one? As timeless says, this could be changed to a dictionary so that it works. That, or the [Callback] extended attribute needs to be on ContactFindOptions so that JS user objects can be considered to implement it -- then you can pass { filter: "whatever", multiple: true } to Contacts::find.
Received on Thursday, 25 August 2011 05:01:41 UTC