ceab081c by Michael Richards

s/setBinders/setBinder

1 parent 013d6347
...@@ -8,10 +8,10 @@ class Rivets.Binding ...@@ -8,10 +8,10 @@ class Rivets.Binding
8 # keypath at which to listen for changes. 8 # keypath at which to listen for changes.
9 constructor: (@view, @el, @type, @keypath, @options = {}) -> 9 constructor: (@view, @el, @type, @keypath, @options = {}) ->
10 @formatters = @options.formatters || [] 10 @formatters = @options.formatters || []
11 @setBinders() 11 @setBinder()
12 @setModel() 12 @setModel()
13 13
14 setBinders: => 14 setBinder: =>
15 unless @binder = @view.binders[@type] 15 unless @binder = @view.binders[@type]
16 for identifier, value of @view.binders 16 for identifier, value of @view.binders
17 if identifier isnt '*' and identifier.indexOf('*') isnt -1 17 if identifier isnt '*' and identifier.indexOf('*') isnt -1
......