e60c89be by Michael Richards

Make sure to set an empty array for dependencies in the text binding constructor.

1 parent 21933b07
...@@ -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.
......