sebpiq / backbone.statemachine

Simple finite-state machine for Backbone. View states made easy. Synchronizing your application's parts with events made easy.
MIT License
177 stars 16 forks source link

Make declaring states optional #7

Closed sebpiq closed 12 years ago

sebpiq commented 12 years ago

Right now it is mandatory to declare state event if empty, but that doesn't really make sense. States can be also fetched and created automatically from the transitions object.

sebpiq commented 12 years ago

done