mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
storage is always rebelled with an object.
This commit is contained in:
parent
3565e476c9
commit
4df2fdd614
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class Store {
|
||||||
checkRequirements(){
|
checkRequirements(){
|
||||||
try {
|
try {
|
||||||
let store;
|
let store;
|
||||||
if (typeof localforage === "undefined") {
|
if (typeof store === "undefined") {
|
||||||
store = localforage;
|
store = localforage;
|
||||||
}
|
}
|
||||||
this.storage = store.createInstance({
|
this.storage = store.createInstance({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue