Remove an unnecessary proxy call
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -26,7 +26,7 @@ class Rivets.Binding | ... | @@ -26,7 +26,7 @@ class Rivets.Binding |
26 | # routines will also listen for changes on the element to propagate them back | 26 | # routines will also listen for changes on the element to propagate them back |
27 | # to the model. | 27 | # to the model. |
28 | bind: => | 28 | bind: => |
29 | Rivets.config.adapter.subscribe @model, @keypath, (value) => @set value | 29 | Rivets.config.adapter.subscribe @model, @keypath, @set |
30 | 30 | ||
31 | if Rivets.config.preloadData | 31 | if Rivets.config.preloadData |
32 | @set Rivets.config.adapter.read @model, @keypath | 32 | @set Rivets.config.adapter.read @model, @keypath | ... | ... |
-
Please register or sign in to post a comment