63c60ac6 by Michael Richards

Always call the binder's update function if present when updating models on a view instance. [#183]

1 parent 8af3c617
......@@ -150,11 +150,10 @@ class Rivets.Binding
else
@view.config.adapter.subscribe @model, @keypath, @sync
@sync() if @view.config.preloadData
@binder.update?.call @, models
else
@sync()
@binder.update?.call @, models
@binder.update?.call @, models
# Rivets.View
# -----------
......