heycarsten/ember-fsm — pull request #6 by ssured (2014-06-18 12:48:52+00:00)
Title: Added extra initialState property for reviving persisted FSM

This code allows to overwrite `initialState` with another state. When an FSM is restored after storing to a DB, this way it can continue from where it was persisted.

Another approach would be to move `state.initialState` property out of the definition and into the machine, but that would break compatibilty.