javascript - PersistJS the call back function is not working -
i have found library handle client storage, latest version found here https://github.com/jeremydurham/persist-js
but 1 thing not work call function
var result = store.get('saved_data', function (ok, val) { console.log(ok, val); });
i retrieve result
except call function not working. 1 appreciated.
there no callback persistjs. use result
needed.
Comments
Post a Comment