Skip to content

Commit

Permalink
Remove phetioType options, see phetsims/axon#116
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Nov 5, 2018
1 parent 0cefdf9 commit 7e44c39
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions js/common/model/Spring.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ define( function( require ) {
{
tandem: tandem.createTandem( 'equilibriumYPositionProperty' ),
units: 'meters',
range: new Range( Number.NEGATIVE_INFINITY, Number.POSITIVE_INFINITY ),
phetioType: DerivedPropertyIO( NumberIO )
range: new Range( Number.NEGATIVE_INFINITY, Number.POSITIVE_INFINITY )
} );

// @public {Property.<number|null>} distance from of the bottom of the spring from the massEquilibriumYPosition
Expand Down Expand Up @@ -204,8 +203,7 @@ define( function( require ) {
{
tandem: tandem.createTandem( 'equilibriumYPositionProperty' ),
units: 'meters',
range: new Range( Number.NEGATIVE_INFINITY, Number.POSITIVE_INFINITY ),
phetioType: DerivedPropertyIO( NumberIO )
range: new Range( Number.NEGATIVE_INFINITY, Number.POSITIVE_INFINITY )
} );

// Set the equilibrium position when a mass is attached to the spring.
Expand Down Expand Up @@ -233,8 +231,7 @@ define( function( require ) {
{
tandem: tandem.createTandem( 'equilibriumYPositionProperty' ),
units: 'meters',
range: new Range( Number.NEGATIVE_INFINITY, Number.POSITIVE_INFINITY ),
phetioType: DerivedPropertyIO( NumberIO )
range: new Range( Number.NEGATIVE_INFINITY, Number.POSITIVE_INFINITY )
} );

var massCenterOfMassProperty = new DynamicProperty( this.massAttachedProperty, {
Expand Down

0 comments on commit 7e44c39

Please sign in to comment.