From f862e0eba81ab472780e7c2b9ee13e3dc025b3a7 Mon Sep 17 00:00:00 2001 From: Chris Malley Date: Mon, 6 Nov 2017 18:26:02 -0700 Subject: [PATCH] delete shakerParticleTandem, https://github.com/phetsims/beers-law-lab/issues/212 --- js/concentration/model/ShakerParticle.js | 1 - js/concentration/model/TShakerParticle.js | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/js/concentration/model/ShakerParticle.js b/js/concentration/model/ShakerParticle.js index b08d0d8d..82b55c3e 100644 --- a/js/concentration/model/ShakerParticle.js +++ b/js/concentration/model/ShakerParticle.js @@ -38,7 +38,6 @@ define( function( require ) { this.solute = solute; this.velocity = initialVelocity; this.acceleration = acceleration; - this.shakerParticleTandem = tandem; // Used in TShakerParticle to serialize the tandem name tandem.addInstance( this, TShakerParticle ); diff --git a/js/concentration/model/TShakerParticle.js b/js/concentration/model/TShakerParticle.js index 2ae169f4..4cd903aa 100644 --- a/js/concentration/model/TShakerParticle.js +++ b/js/concentration/model/TShakerParticle.js @@ -39,7 +39,6 @@ define( function( require ) { orientation: TNumber.fromStateObject( stateObject.orientation ), velocity: TVector2.fromStateObject( stateObject.velocity ), acceleration: TVector2.fromStateObject( stateObject.acceleration ), - shakerParticleTandem: TTandem.fromStateObject( stateObject.tandem ) }; }, @@ -49,8 +48,7 @@ define( function( require ) { location: TVector2.toStateObject( value.locationProperty.get() ), orientation: TNumber.toStateObject( value.orientation ), velocity: TVector2.toStateObject( value.velocity ), - acceleration: TVector2.toStateObject( value.acceleration ), - tandem: TTandem.toStateObject( value.shakerParticleTandem ) + acceleration: TVector2.toStateObject( value.acceleration ) }; } } );