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

Fixes some jslint errors #12

Closed cgarvis closed 12 years ago

sebpiq commented 12 years ago

Thanks. It's kind of stupid though that jslint doesn't like one-liners if(test) do_stuff(); I think it is way clearer than :

if (test) {
  do_stuff();
}