gmac / backbone.epoxy

Declarative data binding and computed models for Backbone
http://epoxyjs.org
MIT License
614 stars 89 forks source link

Setters on computed view properties were never invoked if the new value evaluated as falsy #36

Closed jpurcell001 closed 11 years ago

jpurcell001 commented 11 years ago

This caused problems with UI elements like checkboxes that were bound to a computed view property. The setter would be invoked when the checkbox was switched on, but when it was switched off, the setter function got skipped.

gmac commented 11 years ago

Ah, good catch. Thanks!