-
Notifications
You must be signed in to change notification settings - Fork 6
Upgrading to gaffa 1.9.0 (and 1.8.0)
Kory Nunn edited this page Jun 30, 2014
·
1 revision
Gaffa.addDefaultStyle has been removed, as it was almost never used in practice. If you need similar functionality, check out default-style
view._removeHandlers has been removed, due to the addition of consuela
due to gaffa now using consuela on all constructors, you no longer need to care about cleaning up events bound to renderedElement, or any instance of ViewItem, Property, or ViewContainer.
If you want to make sure events get cleaned up for other elements, or any other emitter, you can, within any instance of ViewItem, Property, or ViewContainer, do:
this._watch(emitter/domNode);