emberjs/ember.js — pull request #313 by benedikt (2011-12-29 17:37:34+00:00)
Title: Allows setting a custom initial substate on states

Previously the inital substate had to be named `start`. This commit adds support for a `initialSubstate` property. If it's present, the Ember.StateManager will enter the given substate.

Example:

Ember.StateManager.create({
start: Ember.State.create({
initialSubstate: 'beginningSubstate',

beginningSubstate: Ember.State.create()
})
});