Skip to content

Commit

Permalink
Addressed REVIEW: Fixing shelfNode references. phetsims/masses-and-sp…
Browse files Browse the repository at this point in the history
  • Loading branch information
Denz1994 committed Jan 30, 2019
1 parent d9941f3 commit 38d5225
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions js/common/view/Shelf.js → js/common/view/ShelfNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ define( function( require ) {
* @param {Tandem} tandem
* @param {Object} [options]
* @constructor
* REVIEW: ShelfNode might be a better name? `Shelf` seems like the model name
*/
function Shelf( tandem, options ) {
function ShelfNode( tandem, options ) {
options = _.extend( {
fill: '#e6c29a',
stroke: 'black',
Expand All @@ -31,7 +30,7 @@ define( function( require ) {
Rectangle.call( this, options );
}

massesAndSprings.register( 'Shelf', Shelf );
massesAndSprings.register( 'ShelfNode', ShelfNode );

return inherit( Rectangle, Shelf );
return inherit( Rectangle, ShelfNode );
} );

0 comments on commit 38d5225

Please sign in to comment.