Skip to content

Commit

Permalink
Move PhetioGroupIO to PhetioGroup.js, see phetsims/tandem#212
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Sep 30, 2020
1 parent c00dfb9 commit dd70823
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions js/balancelab/model/BalanceLabModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import Vector2 from '../../../../dot/js/Vector2.js';
import inherit from '../../../../phet-core/js/inherit.js';
import PhetioGroup from '../../../../tandem/js/PhetioGroup.js';
import PhetioGroupIO from '../../../../tandem/js/PhetioGroupIO.js';
import IOType from '../../../../tandem/js/types/IOType.js';
import ReferenceIO from '../../../../tandem/js/types/ReferenceIO.js';
import balancingAct from '../../balancingAct.js';
Expand All @@ -38,7 +37,7 @@ function BalanceLabModel( tandem ) {
},
[ 1, Vector2.ZERO ], {
tandem: tandem.createTandem( 'brickStackGroup' ),
phetioType: PhetioGroupIO( ReferenceIO( IOType.ObjectIO ) )
phetioType: PhetioGroup.PhetioGroupIO( ReferenceIO( IOType.ObjectIO ) )
} );

// @public {PhetioGroup<MysteryMass>}
Expand All @@ -53,7 +52,7 @@ function BalanceLabModel( tandem ) {
},
[ Vector2.ZERO, 0 ], {
tandem: tandem.createTandem( 'mysteryMassGroup' ),
phetioType: PhetioGroupIO( ReferenceIO( IOType.ObjectIO ) )
phetioType: PhetioGroup.PhetioGroupIO( ReferenceIO( IOType.ObjectIO ) )
} );

// TODO: Add person group here too, see https://github.com/phetsims/balancing-act/issues/99
Expand Down

0 comments on commit dd70823

Please sign in to comment.