gsklee / ngStorage

localStorage and sessionStorage done right for AngularJS.
MIT License
2.34k stars 461 forks source link

storage.$reset() doesn't work fine with parameter #272

Open moussa-b opened 6 years ago

moussa-b commented 6 years ago

See the plunker given in documentation : http://plnkr.co/edit/YiG28KTFdkeFXskolZqs?p=preview

Open browser's console, click 2 times on "Clear localStorage" :

  1. The first time you click you get the expected behavior : localStorage[ngStorage-x] = 999
  2. The second time you click the localStorage is completely deleted
moussa-b commented 6 years ago

Any update on this issue?