Skip to content

Commit

Permalink
fixed dispose function name, see #88
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet committed May 12, 2017
1 parent 6a2eab2 commit 5491276
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/common/view/ExpressionOverlayNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ define( function( require ) {
} );

// create a dispose function
this.disposeExpressionNode = function(){
this.disposeExpressionOverlayNode = function() {
expression.upperLeftCornerProperty.unlink( updatePosition );
expression.inProgressAnimationProperty.unlink( updateDragHandlerAttachmentState );
expression.inEditModeProperty.unlink( updateVisibility );
Expand All @@ -247,7 +247,7 @@ define( function( require ) {

// @public
dispose: function(){
this.disposeExpressionNode();
this.disposeExpressionOverlayNode();
Node.prototype.dispose.call( this );
}
} );
Expand Down

0 comments on commit 5491276

Please sign in to comment.