Skip to content

Commit

Permalink
Converting static getters to static values, fixes phetsims/fractions-…
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed Jan 10, 2019
1 parent e25faa8 commit 8a2f9b9
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions js/intro/view/beaker/BeakerNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,10 @@ define( require => {

this.mutate( options );
}

/**
* The normal height of a beaker.
* @public
*
* @returns {number}
*/
static get DEFAULT_BEAKER_HEIGHT() { return 150; }
}

// @public {number} - The normal height of a beaker
BeakerNode.DEFAULT_BEAKER_HEIGHT = 150;

return fractionsCommon.register( 'BeakerNode', BeakerNode );
} );

0 comments on commit 8a2f9b9

Please sign in to comment.