Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

getNameSpacedStore should use storage type set by setStore function by default #38

Closed
Kuraturpa opened this issue Aug 25, 2015 · 1 comment

Comments

@Kuraturpa
Copy link

Currently if you set store in config block like this:
storageProvider.setStore('sessionStorage')
Then if you create a namespaced storage it will use localStorage. I think instead it should use the storage type set in config block.

@Kuraturpa
Copy link
Author

Looks like you can pass the storage type as second parameter to a namespaced store:
storageProvider.getNameSpacedStore('auth0', 'sessionStorage')
Closing this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant