News for hackers. Stuff that matters.
Re:Backbone 0.9.0 released by peregrine on Monday January 30, 2012 @07:03PM (#3531137)
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.

Re:Backbone 0.9.0 released by halayli on Monday January 30, 2012 @07:11PM (#3531162)
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.