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
a85ebea4
authored
2012-09-03 13:32:54 -0700
by
Michael Richards
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Implement Rivets.View::bidirectionals scoping function.
1 parent
26981461
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
src/rivets.coffee
src/rivets.coffee
View file @
a85ebea
...
...
@@ -178,6 +178,9 @@ class Rivets.View
parseNode
node
for
node
in
el
.
getElementsByTagName
'*'
return
bidirectionals
:
=>
binding
for
binding
in
@
bindings
when
binding
.
isBidirectional
()
# Binds all of the current bindings for this view.
bind
:
=>
binding
.
bind
()
for
binding
in
@
bindings
...
...
Please
register
or
sign in
to post a comment