reboundjs / rebound

Automatic data binding for backbone using HTMLBars.
MIT License
43 stars 4 forks source link

Remove unnecessary bindAll use. #32

Closed jamesplease closed 9 years ago

jamesplease commented 9 years ago

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.