Rivets is not subscribe to model via adapter in case of dependency
Don't know it is adapter or rivets itself problem. Demo: http://jsfiddle.net/Nwq9J/5/
Try this:
model.someFunc < :name
http://jsfiddle.net/Nwq9J/6/
PS better to use rawgithub.com than raw.github.com
yes, this helps when computed property and watched property in same model. but not work when it's different http://jsfiddle.net/Nwq9J/10/
in real life it is view and model objects provided to binding
PS. i'm trying to upgrade from rivets 0.4 to latest one, and have many compatibility issues.
I think that if a computed property depends on property of external model you are doing something wrong. Anyway it is up to you to decide.
In case when I have several views to one model it looks very logical for me. Each view show some of model's values different way, I not want put all this view-dependent methods in model.
without binding I should do it in view by subscribe and update manually.
On Wed, Mar 5, 2014 at 11:02 PM, Mikhail Davydov [email protected]:
I think that if a computed property depends on property of external model you are doing something wrong. Anyway it is up to you to decide.
Reply to this email directly or view it on GitHubhttps://github.com/azproduction/rivets-backbone-adapter/issues/4#issuecomment-36779805 .