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
a348cee6
authored
2012-07-08 23:23:16 +0200
by
Nicklas Ansman Giertz
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Avoid returning unnecessary data from Rivets.View
1 parent
233c0024
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
src/rivets.coffee
src/rivets.coffee
View file @
a348cee
...
...
@@ -75,6 +75,9 @@ class Rivets.View
@
bindings
.
push
new
Rivets
.
Binding
node
,
type
,
model
,
keypath
,
pipes
# To avoid returning the result of the loop
return
# 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