axemclion/IndexedDBShim — pull request #35 by chrixian (2012-12-08 16:46:59+00:00)
Title: Chrome 25 removed IDBTransaction mode constants

God only knows why the constants are missing or whether it was intentional or not but for the time being neither webkitIDBTransaction or IDBTransaction have "READ_ONLY" or "READ_WRITE" properties on them in Chrome 25 (Canary)

This just adds them if a) the shim isn't being used and b) IDBTransaction exists but doesn't have the properties already...

Gets all the tests working in Chrome 25 again and fixes #33