Skip to content

Commit

Permalink
delete shakerParticleTandem, #212
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Nov 7, 2017
1 parent 3374339 commit f862e0e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion js/concentration/model/ShakerParticle.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down
4 changes: 1 addition & 3 deletions js/concentration/model/TShakerParticle.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
};
},

Expand All @@ -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 )
};
}
} );
Expand Down

0 comments on commit f862e0e

Please sign in to comment.