Remove the @options.bindingOptions check, as we're not passing that in from the view anymore.
Showing
1 changed file
with
0 additions
and
2 deletions
... | @@ -38,8 +38,6 @@ class Rivets.Binding | ... | @@ -38,8 +38,6 @@ class Rivets.Binding |
38 | 38 | ||
39 | formatter = if @model[id] instanceof Function | 39 | formatter = if @model[id] instanceof Function |
40 | @model[id] | 40 | @model[id] |
41 | else if @options?.bindingOptions?.formatters?[id] instanceof Function | ||
42 | @options.bindingOptions.formatters[id] | ||
43 | else | 41 | else |
44 | @view.formatters[id] | 42 | @view.formatters[id] |
45 | 43 | ... | ... |
-
Please register or sign in to post a comment