Open mogadanez opened 10 years ago
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 notifications@github.comwrote:
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 .
Don't know it is adapter or rivets itself problem. Demo: http://jsfiddle.net/Nwq9J/5/