|
|
|
|
|
by EdSharkey
3398 days ago
|
|
Hey Marcus, I'm a user! Thanks for doing the heavy IE lifting in store.js. Anyhow, I had a requirement to store raw strings to the local storage or userdata rather than go through your calls to JSON.parse/stringify. I forked and am using my fork rather than your maintained version, which is sad. Since you've got the hood popped for maintenance, would you mind adding raw string support to store.js in version 2? Thanks in advance. Here's my fork repo for reference, please see the getRawString and setRawString API's I added: https://github.com/woldie/store.js |
|
On top of which AFAIK JSON.stringify and JSON.parse work with plain strings so I'd be curious what prevents using plain strings in store.js without any changes
Sorry this isn't a put down , just trying to understand