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

Fix: factory should be called only one time depending on the environment #29

Closed antonyhell closed 10 years ago

antonyhell commented 10 years ago

Small fix for browserify. In some cases old code caused problems with building. Also I've added closure variable $ that is taken from Backbone.$

I'm sorry but I can't understand how to pull your changes and merge with them. It would be great if you can update nom as well (:

Sincerely, Anthony

sebpiq commented 10 years ago

to pull the changes, you can simply do git pull git@github.com:sebpiq/backbone.statemachine.git master but I'll take care of it!

sebpiq commented 10 years ago

Actually, I had already done the first part when merging your first pull request. Now I added $. Thanks!