public/javascripts/vendor/javascripts/ember.js
function() {
    this._super();

    set(this, 'stateMeta', Ember.Map.create());

    var initialState = get(this, 'initialState');

    if (!initialState && get(this, 'states.start')) {
      initialState = 'start';
    }

    if (initialState) {
      this.transitionTo(initialState);
      Ember.assert('Failed to transition to initial state "' + initialState + '"', !!get(this, 'currentState'));
    }
  }
function() {
    this._super();

    set(this, 'stateMeta', Ember.Map.create());

    var initialState = get(this, 'initialState');

    if (!initialState && get(this, 'states.start')) {
      initialState = 'start';
    }

    if (initialState) {
      this.transitionTo(initialState);
      Ember.assert('Failed to transition to initial state "' + initialState + '"', !!get(this, 'currentState'));
    }
  }
function ( ) { this . _super ( ) ; set ( this , 'stateMeta' , Ember . Map . create ( ) ) ; var initialState = get ( this , 'initialState' ) ; if ( ! initialState && get ( this , 'states.start' ) ) { initialState = 'start' ; } if ( initialState ) { this . transitionTo ( initialState ) ; Ember . assert ( 'Failed to transition to initial state "' + initialState + '"' , ! ! get ( this , 'currentState' ) ) ; } }
When creating a new statemanager, look for a default state to transition
into. This state can either be named `start`, or can be specified using the
`initialState` property.
When creating a new statemanager look for a default state to transition into . This state can either be named start or can be specified using the initialState property .