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
e60c89be
authored
2013-09-08 16:49:56 -0700
by
Michael Richards
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Make sure to set an empty array for dependencies in the text binding constructor.
1 parent
21933b07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
src/bindings.coffee
src/bindings.coffee
View file @
e60c89b
...
...
@@ -218,6 +218,7 @@ class Rivets.TextBinding extends Rivets.Binding
# Initializes a text binding for the specified view and text node.
constructor
:
(
@
view
,
@
el
,
@
type
,
@
keypath
,
@
options
=
{})
->
@
formatters
=
@
options
.
formatters
||
[]
@
dependencies
=
[]
@
setModel
()
# A standard routine binder used for text node bindings.
...
...
Please
register
or
sign in
to post a comment