v0.7.1
- Merge pull request #322 from kentmw/master (10138ed)
- Added toJSON to view (00d421e)
- #321, #316, #295, and also removed deprecated code, allowed list views to specify their modelName, fixed carat stealing in template renderer, and added stickit options generation (841751d)
New Updates:
- Views now have a toJSON method
view.toJSON()returns the contents of the view state - Deprecated arguments and methods that referenced "child" views in Form View were removed (childView, childContext, childrenContainer, getChildViewFromModel)
modelNameandmodelIdare settable on the ListView itself instead of having to be passed in as arguments- Behaviors now automatically
stopListeningandoffon dispose - Template renderer doesn't steal caret selections if a view renders outside the active element
- Form views will attempt to generate select options based on the form model
- You can cancel a render during
prerenderby returningfalsewhich will trigger arender:aborton the view - New triggers will fire during the view's lifecycle:
before-dom-detach,before-dom-attach, andrender:abort