Hi,
I want to get the simplest version of binding a view to a successful fetch() event for a collection. I have this working with syncmachine - but for my understanding I want to compare this to not using syncmachine.
class CartView extends View
initialize: ->
super
@modelBind 'change', @render
class NotesView extends View
listen:
'change collection': 'render'
I also tried:
class NotesView extends View
initialize: ->
super
@listenTo @collection, 'change', 'render'
Can anyone tell me what I'm doing wrong? The view does not render - obviously the I did not subscribe to the event properly.
Thanks in advance
Murray