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
7eb0dcef
authored
2013-06-24 21:57:57 -0700
by
Michael Richards
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Double-negate the routine value in the if / unless binder so that we're comparin…
…g a string boolean value.
1 parent
afa85e87
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/rivets.coffee
src/rivets.coffee
View file @
7eb0dce
...
...
@@ -458,7 +458,7 @@ Rivets.binders =
@
nested
?
.
unbind
()
routine
:
(
el
,
value
)
->
if
value
is
not
@
nested
?
if
!!
value
is
not
@
nested
?
if
value
models
=
{}
models
[
key
]
=
model
for
key
,
model
of
@
view
.
models
...
...
Please
register
or
sign in
to post a comment