Skip to content

Commit fb5cab4

Browse files
author
Michael Aufreiter
committed
willUnmount is now dispose.
1 parent 5b8027c commit fb5cab4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notepad/TodoComponent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ TodoComponent.Prototype = function() {
6767
};
6868

6969
// Unbind event handlers
70-
this.willUnmount = function() {
70+
this.dispose = function() {
7171
this.doc.getEventProxy('path').disconnect(this);
7272
};
7373
};

0 commit comments

Comments
 (0)