workaround bug in FF50

https://bugzilla.mozilla.org/show_bug.cgi?id=1101653
This commit is contained in:
tg(x) 2016-10-05 21:39:43 +02:00
parent 39b3fd7fc6
commit 1a97b04106

View File

@ -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);
} }
}; };