Commit 7a5f65b93e819b0919ddd5eb427bc381722eadd1

  • avatar
  • arvind
  • Wed Mar 05 19:13:17 IST 2014
Overriding Comment.toJSON to return the required json object.  Default
toJSON did not ``unvivify`` the model in how attribute.
app.js
(1 / 2)
  
3535 initialize: function() {
3636 },
3737 toJSON: function() {
38 how = this.get('how').toJSON();
39 return this;
38 return JSON.parse(JSON.stringify(this.attributes));
4039 }
4140 });
4241