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
47c8859d
authored
2013-03-27 16:45:44 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Use adapter.read in loopDeps, instead of directly accessing the model.
1 parent
96a86af3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/rivets.coffee
src/rivets.coffee
View file @
47c8859
...
...
@@ -118,7 +118,7 @@ loopDeps = (binder, callback) ->
keypath
=
dependency
.
substr
1
else
dependency
=
dependency
.
split
'.'
model
=
binder
.
view
.
models
[
dependency
.
shift
()]
model
=
Rivets
.
config
.
adapter
.
read
binder
.
view
.
models
dependency
.
shift
()
keypath
=
dependency
.
join
'.'
callback
model
,
keypath
...
...
Please
register
or
sign in
to post a comment