Skip to content

Commit

Permalink
Move PropertyIO to Property.js, see phetsims/tandem#212
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Sep 29, 2020
1 parent 59f4044 commit 2f4917c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/blackbody-spectrum/model/BlackbodyBodyModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
*/

import Property from '../../../../axon/js/Property.js';
import PropertyIO from '../../../../axon/js/PropertyIO.js';
import Range from '../../../../dot/js/Range.js';
import Utils from '../../../../dot/js/Utils.js';
import Color from '../../../../scenery/js/util/Color.js';
Expand Down Expand Up @@ -38,7 +37,7 @@ class BlackbodyBodyModel {
// @public {Property.<number|null>}
this.temperatureProperty = new Property( temperature, {
tandem: tandem.createTandem( 'temperatureProperty' ),
phetioType: PropertyIO( NullableIO( NumberIO ) ),
phetioType: Property.PropertyIO( NullableIO( NumberIO ) ),
phetioDocumentation: 'Determines the temperature of the blackbody. Saved bodies have a null temperature when ' +
'they don\'t exist in the simulation.'
} );
Expand Down

0 comments on commit 2f4917c

Please sign in to comment.