c4816f9a by Adam Heath

Pass the @options.bindContext into functions that are evaluated during

Binding::set.
1 parent 724b6640
......@@ -55,7 +55,7 @@ class Rivets.Binding
# with the suplied value formatted.
set: (value) =>
value = if value instanceof Function and !@binder.function
@formattedValue value.call @model
@formattedValue value.call @model, @options.bindContext
else
@formattedValue value
......