node_modules/ember-simple-auth/addon/session-stores/local-storage.js
/**
    Returns all data currently stored in the `localStorage` as a plain object.

    @method restore
    @return {Ember.RSVP.Promise} A promise that resolves with the data currently persisted in the store when the data has been restored successfully and rejects otherwise.
    @public
  */
Returns all data currently stored in the `localStorage` as a plain object.
Returns all data currently stored in the ` localStorage ` as a plain object .
restore() {
    let data = localStorage.getItem(this.key);
    return RSVP.resolve(JSON.parse(data) || {});
  }
restore ( ) { let data = localStorage . getItem ( this . key ) ; return RSVP . resolve ( JSON . parse ( data ) || { } ) ; }
Returns all data currently stored in the `localStorage` as a plain object.
Returns all data currently stored in the ` localStorage ` as a plain object .