dfa1d26b by Michael Richards

Use explicit coercion to do the equality check against the incomming value in th…

…e value binder's routine function. [#130]
1 parent fadc0fc5
......@@ -308,7 +308,7 @@ Rivets.binders =
routine: (el, value) ->
if el.type is 'select-multiple'
o.selected = o.value in value for o in el if value?
else if value isnt el.value
else if value?.toString() isnt el.value?.toString()
el.value = if value? then value else ''
text: (el, value) ->
......