Make sure to set an empty array for dependencies in the text binding constructor.
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -218,6 +218,7 @@ class Rivets.TextBinding extends Rivets.Binding | ... | @@ -218,6 +218,7 @@ class Rivets.TextBinding extends Rivets.Binding |
218 | # Initializes a text binding for the specified view and text node. | 218 | # Initializes a text binding for the specified view and text node. |
219 | constructor: (@view, @el, @type, @keypath, @options = {}) -> | 219 | constructor: (@view, @el, @type, @keypath, @options = {}) -> |
220 | @formatters = @options.formatters || [] | 220 | @formatters = @options.formatters || [] |
221 | @dependencies = [] | ||
221 | @setModel() | 222 | @setModel() |
222 | 223 | ||
223 | # A standard routine binder used for text node bindings. | 224 | # A standard routine binder used for text node bindings. | ... | ... |
-
Please register or sign in to post a comment