www/js/lib/localforage.js
// Remove an item from the store, nice and simple.
Remove an item from the store, nice and simple.
Remove an item from the store nice and simple .
function removeItem(key, callback) {
        var _this = this;
        return new Promise(function(resolve) {
            _this.ready().then(function() {
                localStorage.removeItem(keyPrefix + key);
                if (callback) {
                    callback();
                }
                resolve();
            });
        });
    }
function removeItem ( key , callback ) { var _this = this ; return new Promise ( function ( resolve ) { _this . ready ( ) . then ( function ( ) { localStorage . removeItem ( keyPrefix + key ) ; if ( callback ) { callback ( ) ; } resolve ( ) ; } ) ; } ) ; }
Remove an item from the store, nice and simple.
Remove an item from the store nice and simple .