src/system.js
function (component) {
    var callbacks = this.callbacks;
    if (component.beforeStep) {
      callbacks.beforeStep.splice(callbacks.beforeStep.indexOf(component), 1);
    }
    if (component.step) {
      callbacks.step.splice(callbacks.step.indexOf(component), 1);
    }
    if (component.afterStep) {
      callbacks.afterStep.splice(callbacks.afterStep.indexOf(component), 1);
    }
  }
function (component) {
    var callbacks = this.callbacks;
    if (component.beforeStep) {
      callbacks.beforeStep.splice(callbacks.beforeStep.indexOf(component), 1);
    }
    if (component.step) {
      callbacks.step.splice(callbacks.step.indexOf(component), 1);
    }
    if (component.afterStep) {
      callbacks.afterStep.splice(callbacks.afterStep.indexOf(component), 1);
    }
  }
function ( component ) { var callbacks = this . callbacks ; if ( component . beforeStep ) { callbacks . beforeStep . splice ( callbacks . beforeStep . indexOf ( component ) , 1 ) ; } if ( component . step ) { callbacks . step . splice ( callbacks . step . indexOf ( component ) , 1 ) ; } if ( component . afterStep ) { callbacks . afterStep . splice ( callbacks . afterStep . indexOf ( component ) , 1 ) ; } }
Removes a component instance from the system.
@param {Component} component
@param {string} phase
Removes a component instance from the system .