Sort-of fixes #988

This commit is contained in:
Chris 2015-03-11 15:53:23 -06:00
parent d0113278aa
commit 654c82619a
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@
result[key] = keys[key];
}
localforage.iterate(function(value, key) {
if(!keys[key]) return;
if(!keys.hasOwnProperty(key)) return;
if(typeof value === "string") {
result[key] = JSON.parse(value);
}