html5rocks/www.html5rocks.com — pull request #126 by axemclion (2012-08-01 04:06:18+00:00)
Title: Added IndexedDB polyfill to Database Examples

The polyfill enables the UI data binding to work on browsers like Chrome, Opera and Safari. The polyfill uses WebSQL to emulate the IndexedDB API.

The data binding example uses "onupgradeneeded" which is not supported by Chrome. For chrome, the IndexedDB polyfill is forced to use WebSQL, so that the exampels work for chrome too.