documentcloud/backbone — Issue #958: Backbone.View and Backbone.Events
Author: elliotlai
Created: 2012-02-05 05:45:49+00:00
State: open

I have read [the closed issue #6](https://github.com/documentcloud/backbone/pull/6)

I have a question.

Does it means I should be doing this

// binding events on a instance
class View extends Backbone.View
tock: -> console.log 'tock'

view = new View
view.on 'tick', view.tock

view.trigger 'tick'

or this

// binding events in a constuctor
class View extends Backbone.View
initialize: ->
@on 'tick', @tock
tock: -> console.log 'tock'

view = new View

view.trigger 'tick'

rather than this? (if possible)

// using the built-in events hash
class View extends Backbone.View
events:
"tick": "tock"
tock: -> console.log 'tock'

view = new View

view.trigger 'tick'

It gives me a feeling that Backbone.View and Backbone.Events are not so a good friend to each other.
Backbone.Events looks sad and lonely to me.