This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Heres how I've been working with arbitrary backbone events: | |
| # | |
| # Obviously in Backbone you can use events elsewhere as well, for | |
| # more info see the docs here: http://documentcloud.github.com/backbone/ | |
| # useful for running this with node.. else browser this with the right includes. | |
| # includes | |
| if typeof window is 'undefined' | |
| # npm install -g backbone | |
| # gives you: |