From 13b1071c71e4dd2937861ec7840ff84580425d65 Mon Sep 17 00:00:00 2001 From: Sam Reid Date: Thu, 11 Jun 2015 12:40:34 -0600 Subject: [PATCH] Removed empty step functions propagated from simula-rasa, see https://github.com/phetsims/joist/issues/171 --- js/calculus-grapher/model/CalculusGrapherModel.js | 8 +------- js/calculus-grapher/view/CalculusGrapherScreenView.js | 10 ++-------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/js/calculus-grapher/model/CalculusGrapherModel.js b/js/calculus-grapher/model/CalculusGrapherModel.js index b5ffdeb1..3bb18677 100644 --- a/js/calculus-grapher/model/CalculusGrapherModel.js +++ b/js/calculus-grapher/model/CalculusGrapherModel.js @@ -19,11 +19,5 @@ define( function( require ) { PropertySet.call( this, {} ); } - return inherit( PropertySet, CalculusGrapherModel, { - - // Called by the animation loop. Optional, so if your model has no animation, you can omit this. - step: function( dt ) { - // Handle model animation here. - } - } ); + return inherit( PropertySet, CalculusGrapherModel ); } ); \ No newline at end of file diff --git a/js/calculus-grapher/view/CalculusGrapherScreenView.js b/js/calculus-grapher/view/CalculusGrapherScreenView.js index 997da085..8789794e 100644 --- a/js/calculus-grapher/view/CalculusGrapherScreenView.js +++ b/js/calculus-grapher/view/CalculusGrapherScreenView.js @@ -25,17 +25,11 @@ define( function( require ) { listener: function() { calculusGrapherModel.reset(); }, - right: this.layoutBounds.maxX - 10, + right: this.layoutBounds.maxX - 10, bottom: this.layoutBounds.maxY - 10 } ); this.addChild( resetAllButton ); } - return inherit( ScreenView, CalculusGrapherScreenView, { - - // Called by the animation loop. Optional, so if your view has no animation, you can omit this. - step: function( dt ) { - // Handle view animation here. - } - } ); + return inherit( ScreenView, CalculusGrapherScreenView ); } ); \ No newline at end of file