Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The backbone object itself now extends Events, so you can use

    Backbone.on('got_weather', function...)
    Backbone.trigger('got_weather', {})


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: