boiler/attachments/sammy/plugins/sammy.storage.js
function(key) {
      var value = this.storage.get(key);
      if (typeof value == 'undefined' || value == null || value == '') {
        return value;
      }
      try {
        return JSON.parse(value);
      } catch(e) {
        return value;
      }
    }
function(key) {
      var value = this.storage.get(key);
      if (typeof value == 'undefined' || value == null || value == '') {
        return value;
      }
      try {
        return JSON.parse(value);
      } catch(e) {
        return value;
      }
    }
function ( key ) { var value = this . storage . get ( key ) ; if ( typeof value == 'undefined' || value == null || value == '' ) { return value ; } try { return JSON . parse ( value ) ; } catch ( e ) { return value ; } }
Returns the set value at `key`, parsing with `JSON.parse` and turning into an object if possible
Returns the set value at key parsing with JSON . parse and turning into an object if possible