DukeLeNoir/jquery-machine — pull request #1 by leemhenson (2012-03-08 13:08:12+00:00)
Title: Namespaced events and immediate transitions from onEnter in default state

Hi.

I've added a couple of features:

- namespaced events were not working correctly because the namespace part wasn't being included in the lookup.
- I want to be able to immediately trigger an event in my onEnter callback in my defaultState which I also subscribe to as an exit from that defaultState. This way I can set up an 'initialization' state which the machine can self-transition out of, never to be returned to again.

What do you think?