Skip to content

Commit

Permalink
make type names consistent, see #54
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarlow12 committed Mar 15, 2018
1 parent 6245064 commit 48a72cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ define( function( require ) {
* @param {Object} [options]
* @constructor
*/
function GFLBMassNode( model, massModel, layoutBounds, modelViewTransform, options ) {
function GravityForceLabBasicsMassNode( model, massModel, layoutBounds, modelViewTransform, options ) {

options = _.extend( {
arrowLabelFill: 'black',
Expand Down Expand Up @@ -58,9 +58,9 @@ define( function( require ) {
ISLCObjectNode.call( this, model, massModel, layoutBounds, modelViewTransform, pullForceRange, options );
}

gravityForceLabBasics.register( 'GFLBMassNode', GFLBMassNode );
gravityForceLabBasics.register( 'GravityForceLabBasicsMassNode', GravityForceLabBasicsMassNode );

return inherit( ISLCObjectNode, GFLBMassNode, {
return inherit( ISLCObjectNode, GravityForceLabBasicsMassNode, {

/**
* Redraws the white gradient on the mass objects with their radius.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ define( function( require ) {
var Bounds2 = require( 'DOT/Bounds2' );
var Color = require( 'SCENERY/util/Color' );
var DistanceArrowNode = require( 'GRAVITY_FORCE_LAB_BASICS/gravity-force-lab-basics/view/DistanceArrowNode' );
var GFLBMassNode = require( 'GRAVITY_FORCE_LAB_BASICS/gravity-force-lab-basics/view/GFLBMassNode' );
var GravityForceLabBasicsMassNode = require( 'GRAVITY_FORCE_LAB_BASICS/gravity-force-lab-basics/view/GravityForceLabBasicsMassNode' );
var gravityForceLabBasics = require( 'GRAVITY_FORCE_LAB_BASICS/gravityForceLabBasics' );
var GravityForceLabBasicsConstants = require( 'GRAVITY_FORCE_LAB_BASICS/gravity-force-lab-basics/GravityForceLabBasicsConstants' );
var HBox = require( 'SCENERY/nodes/HBox' );
Expand Down Expand Up @@ -97,7 +97,7 @@ define( function( require ) {
this.addChild( massControlBox );

// add the mass nodes to the view
var mass1Node = new GFLBMassNode( model, model.object1, this.layoutBounds, modelViewTransform, {
var mass1Node = new GravityForceLabBasicsMassNode( model, model.object1, this.layoutBounds, modelViewTransform, {
label: mass1LabelString,
otherObjectLabel: mass2LabelString,
defaultDirection: 'left',
Expand All @@ -106,7 +106,7 @@ define( function( require ) {
tandem: tandem.createTandem( 'mass1Node' )
} );

var mass2Node = new GFLBMassNode( model, model.object2, this.layoutBounds, modelViewTransform, {
var mass2Node = new GravityForceLabBasicsMassNode( model, model.object2, this.layoutBounds, modelViewTransform, {
label: mass2LabelString,
otherObjectLabel: mass1LabelString,
defaultDirection: 'right',
Expand Down

0 comments on commit 48a72cf

Please sign in to comment.