js-storage icon indicating copy to clipboard operation
js-storage copied to clipboard

Error when using expiration plugin

Open dnielrodrigues opened this issue 4 years ago • 0 comments

Error message:
Uncaught TypeError: t.charCodeAt is not a function -> store.everything.min.js?v=9609:2

Using in a bootstrap jquery project like this:

<script src="./node_modules/store/dist/store.everything.min.js"></script>
<script src="./js/app.js"></script>

Script:

var data = {lon: -666, lat: -666, key: 666};
store.set('weather', data, new Date().getTime() + 3000); // expiration in 3 sec

dnielrodrigues avatar Dec 17 '20 13:12 dnielrodrigues