workaround bug in FF50
https://bugzilla.mozilla.org/show_bug.cgi?id=1101653
This commit is contained in:
parent
39b3fd7fc6
commit
1a97b04106
@ -290,7 +290,7 @@ class QueryRoot {
|
||||
*/
|
||||
putAll(storeName: string, iterable: any[]): QueryRoot {
|
||||
const doPutAll = (tx: IDBTransaction) => {
|
||||
for (const obj of iterable) {
|
||||
for (let obj of iterable) {
|
||||
tx.objectStore(storeName).put(obj);
|
||||
}
|
||||
};
|
||||
@ -412,4 +412,4 @@ class QueryRoot {
|
||||
this.hasWrite = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user