On Wed, Sep 21, 2011 at 8:52 PM, Israel Hilerio <isra...@microsoft.com>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 will probably be:

var changeEvent = new IDBVersionChangeEvent("versionchange", {
    bubbles: true, cancellable: true, oldVersion: 1, newVersion: 2
});

so that might be a slightly better example.  (Either way, note "=" -> ":".)

-- 
Glenn Maynard

Reply via email to