Skip to content

Commit

Permalink
Merge pull request #66 from zawaideh/patch-4
Browse files Browse the repository at this point in the history
remove prefixed indexedDB fallbacks
  • Loading branch information
julien51 committed Sep 19, 2014
2 parents f655175 + 8d7e926 commit 949525d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions backbone-indexeddb.js
Expand Up @@ -23,13 +23,6 @@
return (S4() + S4() + "-" + S4() + "-" + S4() + "-" + S4() + "-" + S4() + S4() + S4());
}

// Naming is a mess!
var indexedDB = window.indexedDB || window.webkitIndexedDB || window.mozIndexedDB || window.msIndexedDB ;
var IDBTransaction = window.IDBTransaction || window.webkitIDBTransaction || { READ_WRITE: "readwrite" }; // No prefix in moz
var IDBKeyRange = window.IDBKeyRange || window.webkitIDBKeyRange ; // No prefix in moz

window.IDBCursor = window.IDBCursor || window.webkitIDBCursor || window.mozIDBCursor || window.msIDBCursor ;

if ( _(indexedDB).isUndefined() ) { return; }

// Driver object
Expand Down

0 comments on commit 949525d

Please sign in to comment.