7eb0dcef by Michael Richards

Double-negate the routine value in the if / unless binder so that we're comparin…

…g a string boolean value.
1 parent afa85e87
...@@ -458,7 +458,7 @@ Rivets.binders = ...@@ -458,7 +458,7 @@ Rivets.binders =
458 @nested?.unbind() 458 @nested?.unbind()
459 459
460 routine: (el, value) -> 460 routine: (el, value) ->
461 if value is not @nested? 461 if !!value is not @nested?
462 if value 462 if value
463 models = {} 463 models = {}
464 models[key] = model for key, model of @view.models 464 models[key] = model for key, model of @view.models
......