function preferencesInitialize() {
    return this.initializedPromise =
        this._readFromStorage(DEFAULT_PREFERENCES).then(function(prefObj) {
      this.isInitializedPromiseResolved = true;
      if (prefObj) {
        this.prefs = prefObj;
      }
    }.bind(this));
  }
/**
   * Initialize and fetch the current preference values from storage.
   * @return {Promise} A promise that is resolved when the preferences
   *                   have been initialized.
   */
Initialize and fetch the current preference values from storage.
@return {Promise} A promise that is resolved when the preferences
have been initialized.
Initialize and fetch the current preference values from storage . @return { Promise } A promise that is resolved when the preferences have been initialized .
function preferencesInitialize() {
    return this.initializedPromise =
        this._readFromStorage(DEFAULT_PREFERENCES).then(function(prefObj) {
      this.isInitializedPromiseResolved = true;
      if (prefObj) {
        this.prefs = prefObj;
      }
    }.bind(this));
  }
function preferencesInitialize ( ) { return this . initializedPromise = this . _readFromStorage ( DEFAULT_PREFERENCES ) . then ( function ( prefObj ) { this . isInitializedPromiseResolved = true ; if ( prefObj ) { this . prefs = prefObj ; } } . bind ( this ) ) ; }
Initialize and fetch the current preference values from storage.
Initialize and fetch the current preference values from storage .