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
431ef966
authored
2012-08-14 16:36:41 -0700
by
Michael Richards
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'avoid-return-values'
2 parents
8c37555a
0f4e78fa
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 @
431ef96
...
...
@@ -171,10 +171,12 @@ class Rivets.View
if
iterator
node
.
removeAttribute
(
a
.
name
)
for
a
in
iterator
iterator
=
null
return
for
el
in
@
els
parseNode
el
parseNode
node
for
node
in
el
.
getElementsByTagName
'*'
return
# Binds all of the current bindings for this view.
bind
:
=>
...
...
@@ -308,6 +310,7 @@ rivets =
configure
:
(
options
=
{})
->
for
property
,
value
of
options
Rivets
.
config
[
property
]
=
value
return
# Binds a set of model objects to a parent DOM element. Returns a Rivets.View
# instance.
...
...
Please
register
or
sign in
to post a comment