9a6db123 by Nicklas Ansman Giertz

Remove an unnecessary proxy call

1 parent 472cd08f
......@@ -26,7 +26,7 @@ class Rivets.Binding
# routines will also listen for changes on the element to propagate them back
# to the model.
bind: =>
Rivets.config.adapter.subscribe @model, @keypath, (value) => @set value
Rivets.config.adapter.subscribe @model, @keypath, @set
if Rivets.config.preloadData
@set Rivets.config.adapter.read @model, @keypath
......@@ -144,4 +144,4 @@ rivets =
if module?
module.exports = rivets
else
@rivets = rivets
\ No newline at end of file
@rivets = rivets
......