Skip to content

Commit

Permalink
Removed empty step functions propagated from simula-rasa, see phetsim…
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Jun 11, 2015
1 parent 5672478 commit 13b1071
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
8 changes: 1 addition & 7 deletions js/calculus-grapher/model/CalculusGrapherModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
} );
10 changes: 2 additions & 8 deletions js/calculus-grapher/view/CalculusGrapherScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
} );

0 comments on commit 13b1071

Please sign in to comment.