mirkoperillo/resting

Use promises in storage module

Opened this issue · 0 comments

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){