function preferencesReload() {
    return this.initializedPromise.then(function () {
      this._readFromStorage(DEFAULT_PREFERENCES).then(function(prefObj) {
        if (prefObj) {
          this.prefs = prefObj;
        }
      }.bind(this));
    }.bind(this));
  }
/**
   * Replace the current preference values with the ones from storage.
   * @return {Promise} A promise that is resolved when the preference values
   *                   have been updated.
   */
Replace the current preference values with the ones from storage.
@return {Promise} A promise that is resolved when the preference values
have been updated.
Replace the current preference values with the ones from storage . @return { Promise } A promise that is resolved when the preference values have been updated .
function preferencesReload() {
    return this.initializedPromise.then(function () {
      this._readFromStorage(DEFAULT_PREFERENCES).then(function(prefObj) {
        if (prefObj) {
          this.prefs = prefObj;
        }
      }.bind(this));
    }.bind(this));
  }
function preferencesReload ( ) { return this . initializedPromise . then ( function ( ) { this . _readFromStorage ( DEFAULT_PREFERENCES ) . then ( function ( prefObj ) { if ( prefObj ) { this . prefs = prefObj ; } } . bind ( this ) ) ; } . bind ( this ) ) ; }
Replace the current preference values with the ones from storage.
Replace the current preference values with the ones from storage .