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
ceab081c
authored
2013-08-04 17:10:55 -0700
by
Michael Richards
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
s/setBinders/setBinder
1 parent
013d6347
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/bindings.coffee
src/bindings.coffee
View file @
ceab081
...
...
@@ -8,10 +8,10 @@ class Rivets.Binding
# keypath at which to listen for changes.
constructor
:
(
@
view
,
@
el
,
@
type
,
@
keypath
,
@
options
=
{})
->
@
formatters
=
@
options
.
formatters
||
[]
@
setBinder
s
()
@
setBinder
()
@
setModel
()
setBinder
s
:
=>
setBinder
:
=>
unless
@
binder
=
@
view
.
binders
[
@
type
]
for
identifier
,
value
of
@
view
.
binders
if
identifier
isnt
'*'
and
identifier
.
indexOf
(
'*'
)
isnt
-
1
...
...
Please
register
or
sign in
to post a comment