locache
locache copied to clipboard
I think line 266 should be: this.remove(key);
https://github.com/d0ugal-archive/locache/blob/83787513bb4ee5be38f3e8d870a9cb71187ce09a/locache.js#L266
line 266 should be:
this.remove(key);
because line 308:
LocacheCache.prototype.remove = function (key) {
// If the storage backend isn't enabled perform a no-op.
if (!this.storage.enabled()) {
return;
}
var expireKey = this.expirekey(key);
var valueKey = this.key(key);
this.storage.remove(expireKey);
this.storage.remove(valueKey);
};
https://github.com/d0ugal-archive/locache/blob/83787513bb4ee5be38f3e8d870a9cb71187ce09a/locache.js#L308