W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2011

[Bug 12248] Make objects first-class API citizens

From: <bugzilla@jessica.w3.org>
Date: Wed, 16 Mar 2011 23:22:21 +0000
To: public-script-coord@w3.org
Message-Id: <E1Q002n-0000X8-NV@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12248

--- Comment #37 from Jonas Sicking <jonas@sicking.cc> 2011-03-16 23:22:20 UTC ---
Note that in IndexedDB, functions take both required and optional arguments. We
didn't make these functions take a single object that contains both the
optional and required arguments, but rather did something like this:

db.createObjectStore("foo", { keyPath: "a_prop" });

http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#widl-IDBDatabase-createObjectStore

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Wednesday, 16 March 2011 23:22:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:03 UTC