Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use promises in storage module #108

Open
mirkoperillo opened this issue Apr 6, 2020 · 0 comments
Open

Use promises in storage module #108

mirkoperillo opened this issue Apr 6, 2020 · 0 comments
Labels
refactor Maintain a healthy project

Comments

@mirkoperillo
Copy link
Owner

At the moment the storage module uses callbacks.

Move to promises.

Storage module uses library localforage to persist data.
Now Resting uses localforage.nopromises.min, move to the new version that supports promises.

Ref to code

define(['localforage'],function(localforage){

@mirkoperillo mirkoperillo added the refactor Maintain a healthy project label Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Maintain a healthy project
Projects
None yet
Development

No branches or pull requests

1 participant