Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
rivets
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
63c60ac6
authored
2013-06-23 20:07:18 -0700
by
Michael Richards
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Always call the binder's update function if present when updating models on a view instance. [#183]
1 parent
8af3c617
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
src/rivets.coffee
src/rivets.coffee
View file @
63c60ac
...
...
@@ -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
# -----------
...
...
Please
register
or
sign in
to post a comment