Skip to content

Commit

Permalink
Additional workaround required for chrome apps (Isssue #66)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfahlander committed Feb 23, 2015
1 parent 2b02932 commit 3893157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dexie.js
Original file line number Diff line number Diff line change
Expand Up @@ -3091,7 +3091,7 @@
SyntaxError: window.SyntaxError || String,
TypeError: window.TypeError || String,
DOMError: window.DOMError || String,
localStorage: window.localStorage // Optional. Only needed on non-chromium browsers for Dexie.getDatabaseNames() to work
localStorage: ((typeof chrome !== "undefined" && chrome !== null ? chrome.storage : void 0) != null ? null : window.localStorage)
};

// API Version Number: Type Number, make sure to always set a version number that can be comparable correctly. Example: 0.9, 0.91, 0.92, 1.0, 1.01, 1.1, 1.2, 1.21, etc.
Expand Down

0 comments on commit 3893157

Please sign in to comment.