lib/initializer.js
/**
  * @private
  * @method _resolveComponent
  * @description Resolve component if it's not a promise, otherwise
  * resolve it as a promise.
  * @param {mixin} returnedValueFromComponent
  */
@private
@method _resolveComponent
@description Resolve component if it's not a promise, otherwise
resolve it as a promise.
@private @method _resolveComponent @description Resolve component if it ' s not a promise otherwise resolve it as a promise .
_resolveComponent(returnedValueFromComponent) {
    if (this._isComponentPromisified(returnedValueFromComponent)) {
      return this._resolvePromisifiedComponent(returnedValueFromComponent);
    }
    this._onResolvedComponent();
  }
_resolveComponent ( returnedValueFromComponent ) { if ( this . _isComponentPromisified ( returnedValueFromComponent ) ) { return this . _resolvePromisifiedComponent ( returnedValueFromComponent ) ; } this . _onResolvedComponent ( ) ; }
@private
 @method _resolveComponent
 @description Resolve component if it's not a promise, otherwise
 resolve it as a promise.
@private @method _resolveComponent @description Resolve component if it ' s not a promise otherwise resolve it as a promise .