Skip to content
This repository was archived by the owner on Jun 7, 2018. It is now read-only.
This repository was archived by the owner on Jun 7, 2018. It is now read-only.

I think line 266 should be: this.remove(key);  #22

@mohong

Description

@mohong

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions