benchmarks/scenarios/ember.js
function () {
      var _this = this;

      var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];

      if (this._bootPromise) {
        return this._bootPromise;
      }

      this._bootPromise = new _emberRuntimeExtRsvp.default.Promise(function (resolve) {
        return resolve(_this._bootSync(options));
      });

      return this._bootPromise;
    }
function () {
      var _this = this;

      var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];

      if (this._bootPromise) {
        return this._bootPromise;
      }

      this._bootPromise = new _emberRuntimeExtRsvp.default.Promise(function (resolve) {
        return resolve(_this._bootSync(options));
      });

      return this._bootPromise;
    }
function ( ) { var _this = this ; var options = arguments . length <= 0 || arguments [ 0 ] === undefined ? { } : arguments [ 0 ] ; if ( this . _bootPromise ) { return this . _bootPromise ; } this . _bootPromise = new _emberRuntimeExtRsvp . default . Promise ( function ( resolve ) { return resolve ( _this . _bootSync ( options ) ) ; } ) ; return this . _bootPromise ; }
Initialize the `Ember.ApplicationInstance` and return a promise that resolves
with the instance itself when the boot process is complete.
The primary task here is to run any registered instance initializers.
See the documentation on `BootOptions` for the options it takes.
@private
@method boot
@param options
@return {Promise<Ember.ApplicationInstance,Error>}
Initialize the Ember . ApplicationInstance and return a promise that resolves with the instance itself when the boot process is complete . The primary task here is to run any registered instance initializers . See the documentation on BootOptions for the options it takes .