s/setBinders/setBinder
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment