dist/expired_storage.js
function(key)
        {
            // get value
            var val = this.getItem(key);

            // if null, return null
            if (val === null) {
                return null;
            }

            // parse and return value
            return JSON.parse(val);
        }
function(key)
        {
            // get value
            var val = this.getItem(key);

            // if null, return null
            if (val === null) {
                return null;
            }

            // parse and return value
            return JSON.parse(val);
        }
function ( key ) { // get value var val = this . getItem ( key ) ; // if null, return null if ( val === null ) { return null ; } // parse and return value return JSON . parse ( val ) ; }
Get a json serializable value. This basically calls JSON.parse on the returned value.
@param key: Item key to get (string).
@return: Stored value, or undefined if not set / expired.
Get a json serializable value . This basically calls JSON . parse on the returned value .