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
62f8d965
authored
2013-05-15 19:51:55 -0700
by
Michael Richards
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge pull request #160 from cjblomqvist/master
Fix Issue #158
2 parents
40161ffc
8c6c5364
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
src/rivets.coffee
src/rivets.coffee
View file @
62f8d96
...
...
@@ -397,7 +397,15 @@ Rivets.binders =
@
marker
@
marker
.
parentNode
.
insertBefore
itemEl
,
previous
.
nextSibling
?
null
view
=
new
Rivets
.
View
(
itemEl
,
data
,
@
view
.
options
)
options
=
binders
:
@
view
.
options
.
binders
formatters
:
@
view
.
options
.
binders
config
:
{}
options
.
config
[
k
]
=
v
for
k
,
v
of
@
view
.
options
.
config
if
@
view
.
options
.
config
# Ensure preloadData is set to true since child elements won't get initiated otherwise until the next change (which might not be the first)
options
.
config
.
preloadData
=
true
view
=
new
Rivets
.
View
(
itemEl
,
data
,
options
)
view
.
bind
()
@
iterated
.
push
view
...
...
Please
register
or
sign in
to post a comment