knadh / localStorageDB

A simple database layer for localStorage and sessionStorage for creating structured data in the form of databases and tables
http://nadh.in/code/localstoragedb
814 stars 128 forks source link

Firefox storing localstorage database as string #63

Closed schoettler closed 8 years ago

schoettler commented 8 years ago

Hey guys!

Just recently checked through Firebug how the library works on Firefox, and the object is being stored as a string (surrounded by double quotes), instead of an object e.g.: "{}" instead of {}, rendering the library unusable.

Is there anything we can do?

knadh commented 8 years ago

localStorage can only store strings. The library is built to work with this. What do you mean by "unusable"? Have you tried the library at all?

On Monday 30 November 2015, Roberto von Schoettler notifications@github.com wrote:

Hey guys!

Just recently checked through Firebug how the library works on Firefox, and the object is being stored as a string (surrounded by double quotes), instead of an object e.g.: "{}" instead of {}, rendering the library unusable.

Is there anything we can do?

— Reply to this email directly or view it on GitHub https://github.com/knadh/localStorageDB/issues/63.

schoettler commented 8 years ago

True, the problem had nothing to do with the library, sorry about that.