Skip to content

Commit

Permalink
Add assertions to remind devs that there should be a LinkedElement to…
Browse files Browse the repository at this point in the history
… the associated Property and that the Property itself should be featured, see phetsims/sun#920
  • Loading branch information
samreid committed Dec 30, 2024
1 parent 693a1f9 commit 881b60f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion js/discrete/model/DiscreteModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ export default class DiscreteModel implements TModel {
} );

this.seriesTypeProperty = new EnumerationProperty( SeriesType.SIN, {
tandem: tandem.createTandem( 'seriesTypeProperty' )
tandem: tandem.createTandem( 'seriesTypeProperty' ),
phetioFeatured: true
} );

this.domainProperty = new EnumerationProperty( Domain.SPACE, {
Expand Down
3 changes: 2 additions & 1 deletion js/wavepacket/model/WavePacketModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ export default class WavePacketModel implements TModel {
} );

this.seriesTypeProperty = new EnumerationProperty( SeriesType.SIN, {
tandem: tandem.createTandem( 'seriesTypeProperty' )
tandem: tandem.createTandem( 'seriesTypeProperty' ),
phetioFeatured: true
} );

this.widthIndicatorsVisibleProperty = new BooleanProperty( false, {
Expand Down

0 comments on commit 881b60f

Please sign in to comment.