Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix for "TypeError: Assisgnement to read-only properties is not allow…
…ed in strict mode" in IE11
  • Loading branch information
shospodarets committed Oct 24, 2013
1 parent aed51f6 commit ef0019a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
8 changes: 6 additions & 2 deletions dist/jquery.indexeddb.js
Expand Up @@ -3,8 +3,12 @@
var indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB;
var IDBKeyRange = window.IDBKeyRange || window.webkitIDBKeyRange;
var IDBCursor = window.IDBCursor || window.webkitIDBCursor || {};
IDBCursor.PREV = IDBCursor.PREV || "prev";
IDBCursor.NEXT = IDBCursor.NEXT || "next";
if (!IDBCursor.PREV) {
IDBCursor.PREV = "prev";
}
if (!IDBCursor.NEXT) {
IDBCursor.NEXT = "next";
}

/**
* Best to use the constant IDBTransaction since older version support numeric types while the latest spec
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.indexeddb.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ef0019a

Please sign in to comment.