From 630c01797bef0274fc2fa02cab4878bb18c13041 Mon Sep 17 00:00:00 2001 From: Chris Malley Date: Thu, 20 Apr 2017 21:33:33 -0600 Subject: [PATCH] TODO items, #78 --- js/linegame/view/ChallengeNode.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/linegame/view/ChallengeNode.js b/js/linegame/view/ChallengeNode.js index 6da491b5..24b91ae5 100644 --- a/js/linegame/view/ChallengeNode.js +++ b/js/linegame/view/ChallengeNode.js @@ -177,10 +177,10 @@ define( function( require ) { baseColor: 'red', textFill: 'white' }; - //TODO #78 TextPushButton.dispose required + //TODO #78 TextPushButton.removeListener required? var skipButton = new TextPushButton( 'Skip', _.extend( { listener: model.skipCurrentChallenge.bind( model ) }, devButtonOptions ) ); // skips the current challenge. - //TODO #78 TextPushButton.dispose required + //TODO #78 TextPushButton.removeListener required? var replayButton = new TextPushButton( 'Replay', _.extend( { listener: model.replayCurrentChallenge.bind( model ) }, devButtonOptions ) ); // replays the current challenge. var devButtonsParent = new Node( { children: [ skipButton, replayButton ] } );