angular-local-storage icon indicating copy to clipboard operation
angular-local-storage copied to clipboard

Prefix always end with a dot (.)

Open code-and-such opened this issue 8 years ago • 0 comments

If I use setPrefixto set the prefix 'mu-stuff-' my local storage keys will get the name mu-stuff-.key. I need this to keep compatibility with the old local storage solution we used (ngStorage) which uses 'ngStorage-' as prefix.

I think I can do a workaround by looking for the old ones during startup and change their name, but it will require me to understand the local storage mechanism without any abstractions.

code-and-such avatar Sep 28 '17 07:09 code-and-such