Re: [indexeddb] Updates to the Event Constructor to match DOM 4

2011-09-21 Thread Glenn Maynard
On Wed, Sep 21, 2011 at 8:52 PM, Israel Hilerio wrote: > Sounds good! The updated example will look like this: > var myDictionary = { bubbles: true, cancellable: true, oldVersion=1, > newVersion=2}; > var changeEvent = new IDBVersionChangeEvent("versionchange", myDictionary); > The common pattern

Re: [indexeddb] Updates to the Event Constructor to match DOM 4

2011-09-21 Thread Jonas Sicking
On Wed, Sep 21, 2011 at 5:52 PM, Israel Hilerio wrote: > On Wednesday, September 21, 2011 2:50 PM, Jonas Sicking wrote: >> On Wed, Sep 21, 2011 at 11:58 AM, Israel Hilerio >> wrote: >> > Jonas, >> > >> > This is our interpretation of how we see incorporating the new Event >> constructor model def

RE: [indexeddb] Updates to the Event Constructor to match DOM 4

2011-09-21 Thread Israel Hilerio
On Wednesday, September 21, 2011 2:50 PM, Jonas Sicking wrote: > On Wed, Sep 21, 2011 at 11:58 AM, Israel Hilerio > wrote: > > Jonas, > > > > This is our interpretation of how we see incorporating the new Event > constructor model defined in DOM 4. > > > > [Constructor(DOMString type, optional IDB

Re: [indexeddb] Updates to the Event Constructor to match DOM 4

2011-09-21 Thread Jonas Sicking
On Wed, Sep 21, 2011 at 11:58 AM, Israel Hilerio wrote: > Jonas, > > This is our interpretation of how we see incorporating the new Event > constructor model defined in DOM 4. > > [Constructor(DOMString type, optional IDBVersionChangeEventInit > IDBVersionChangeEventInitDict)] > interface IDBVer

Re: [indexeddb] Updates to the Event Constructor to match DOM 4

2011-09-21 Thread Anne van Kesteren
Awesome you are adopting this! On Wed, 21 Sep 2011 20:58:22 +0200, Israel Hilerio wrote: This is our interpretation of how we see incorporating the new Event constructor model defined in DOM 4. [Constructor(DOMString type, optional IDBVersionChangeEventInit IDBVersionChangeEventInitDict)