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

jQuery Mobile app not scrolling in Firefox -

c++ - How to add Crypto++ library to Qt project -

php array slice every 2th rule -