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

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -