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
e4d21fdb
authored
2012-08-10 02:06:50 -0700
by
Michael Richards
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Make all bindings store a reference to their view.
1 parent
bbc1d12f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
src/rivets.coffee
src/rivets.coffee
View file @
e4d21fd
...
...
@@ -159,7 +159,10 @@ class Rivets.View
type
=
type
.
replace
iterationRegExp
,
''
options
.
special
=
"iteration"
@
bindings
.
push
new
Rivets
.
Binding
node
,
type
,
model
,
keypath
,
options
binding
=
new
Rivets
.
Binding
node
,
type
,
model
,
keypath
,
options
binding
.
view
=
@
@
bindings
.
push
binding
for
el
in
@
els
parseNode
el
...
...
Please
register
or
sign in
to post a comment