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 ac25c2c commit 9c149ea
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 36 deletions.
10 changes: 2 additions & 8 deletions js/making-tens/adding/view/MakingTensAddingScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ define( function( require ) {
listener: function() {
makingTensAddingModel.reset();
},
right: this.layoutBounds.maxX - 10,
right: this.layoutBounds.maxX - 10,
bottom: this.layoutBounds.maxY - 10
} );
this.addChild( resetAllButton );
Expand All @@ -179,11 +179,5 @@ define( function( require ) {
this.addChild( new HSlider( mockupOpacityProperty, { min: 0, max: 1 }, { top: 10, left: 500 } ) );
}

return inherit( MakingTensCommonView, MakingTensAddingScreenView, {

// 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( MakingTensCommonView, MakingTensAddingScreenView );
} );
5 changes: 0 additions & 5 deletions js/making-tens/common/view/MakingTensCommonView.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ define( function( require ) {

return inherit( ScreenView, MakingTensCommonView, {

// Called by the animation loop. Optional, so if your view has no animation, you can omit this.
step: function( dt ) {
// Handle view animation here.
},

findPaperNumberNode: function( paperNumberModel ) {
var self = this;
var allPaperNumberNodes = self.paperNumberLayerNode.children;
Expand Down
9 changes: 1 addition & 8 deletions js/making-tens/explore/view/MakingTensExploreScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,5 @@ define( function( require ) {

}

return inherit( MakingTensCommonView, MakingTensExploreScreenView, {

// 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( MakingTensCommonView, MakingTensExploreScreenView );
} );
8 changes: 1 addition & 7 deletions js/making-tens/game/model/MakingTensGameModel.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, MakingTensGameModel, {

// 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, MakingTensGameModel );
} );
10 changes: 2 additions & 8 deletions js/making-tens/game/view/MakingTensGameScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,11 @@ define( function( require ) {
listener: function() {
makingTensGameModel.reset();
},
right: this.layoutBounds.maxX - 10,
right: this.layoutBounds.maxX - 10,
bottom: this.layoutBounds.maxY - 10
} );
this.addChild( resetAllButton );
}

return inherit( ScreenView, MakingTensGameScreenView, {

// 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, MakingTensGameScreenView );
} );

0 comments on commit 9c149ea

Please sign in to comment.