html5rocks/www.html5rocks.com — pull request #150 by alecf (2012-08-13 23:02:49+00:00)
Title: update indexeddb setVersion docs and callback behavior

This updates to what works in Chrome M21, fixes up the docs, and clarifies the request type ("versionchange") - this has the added benefit that the request type is the same.

I wasn't sure about specifically calling out firefox vs chrome here - chrome is still using setVersion and firefox uses .onupgradeneeded - but I figured at the very least this fixes the example to avoid being totally broken, until onupgradneeded is fully implemented in all browsers.