listenTo binds the context automatically, so binding _onModelChange and _onCollectionChange isn't doing anything. _notifySubtree is always called directly, never as a callback, so again binding the context does nothing.
I've left __callOnComponent, as I'm not sure if it's called with the right context in all situations. I would guess that it is, though.
Resolves #29
Summary:
listenTo
binds the context automatically, so binding_onModelChange
and_onCollectionChange
isn't doing anything._notifySubtree
is always called directly, never as a callback, so again binding the context does nothing.I've left
__callOnComponent
, as I'm not sure if it's called with the right context in all situations. I would guess that it is, though.