craftyjs/Crafty — pull request #347 by talitapagani (2012-09-20 20:05:06+00:00)
Title: Fixes for indexedDB polyfills

As Internet Explorer 10 will have the "msIndexedDB", I added this object to the polyfill and also made as a single-line statement.

But the main change was the polyfill for IDBTransaction. As IDBTransaction.READ/READ_WRITE and IDBTransaction.readonly/read_write are deprecated on new versions of FF and Chrome (supporting only the strings "readonly" or "read_write"), I added a polyfill to make it compatible with recent and legacy versions of browsers.