Javascript State Machine v2.2.0 Release Notes

Release Date: 2013-01-26 // about 11 years ago
    • Added optional final state(s) and isFinished() helper method (issue #23)
    • extended fsm.is() to accept an array of states (in addition to a single state)
    • Added generic event callbacks 'onbeforeevent' and 'onafterevent' (issue #28)
    • Added generic state callbacks 'onleavestate' and 'onenterstate' (issue #28)
    • Fixed 'undefined' event return codes (issue #34) - pull from gentooboontoo (thanks!)
    • Allow async event transition to be cancelled (issue #22)
    • read more...