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 {
|
putAll(storeName: string, iterable: any[]): QueryRoot {
|
||||||
const doPutAll = (tx: IDBTransaction) => {
|
const doPutAll = (tx: IDBTransaction) => {
|
||||||
for (const obj of iterable) {
|
for (let obj of iterable) {
|
||||||
tx.objectStore(storeName).put(obj);
|
tx.objectStore(storeName).put(obj);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user