gmac / backbone.epoxy

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

Calling setBinding on a view computed does not trigger recompute of other bindings using that computed #63

Open jpurcell001 opened 10 years ago

jpurcell001 commented 10 years ago

Example: Let's say I have a view computed called "foo". Foo has both a get() and a set(). A template has multiple bindings to foo, e.g. two different elements have a data-bind="toggle:foo".

Calling setBinding("foo", ) does not trigger a refresh of those bindings.

I know dependencies through view computeds aren't supported, but any idea if there's a way to get the more basic behavior described here?