Hacker News new | comments | show | ask | jobs | submit login

1. Just add a method to a model or collection that does the computation. Javascript allows you to add methods to any object.

2. Good Question.




Right it does allow me to do that, but it doesn't get serialized and when a computed property depends on several attributes in the model, changing these attributes should also trigger the computed property change event.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: