Changelog
v0.3.8
initialState
member was getting set to undefined if a states
object was provided on the options constructor arg but not an initialState
.Changelog
v0.3.7
states
object from the parent Fsm constructor. The states
object and initialState
property are now built/blended together from the prototype chain and deep-clone-extended over the instance itself, so that they will always be instance level.Changelog
v0.3.5
deferUntilNextHandler
where deferred inputs were being queued as NEXT_TRANSITION
instead of NEXT_HANDLER
.on_Exit
to occur just before the state property is updated, instead of just after.Changelog
v0.3.4
Changelog
v0.3.3
action
member which contains the "state.handler" value (string) indicating the current action which caused the transition.Changelog
v0.3.2
initialize
call will now receive the arguments passed to the constructor (see this issue).Changelog
v0.3.1
Changelog
v0.3.0
extend
function - working mostly identical to backbone.js objects._onExit
handler.fireEvent
has been removed. Use emit
or the trigger
alias. This is a breaking API change.Changelog
v0.2.2