From affe54d3fa003958e7196010ce918e7094137f3a Mon Sep 17 00:00:00 2001 From: zepumph Date: Thu, 19 Sep 2019 16:36:53 -0800 Subject: [PATCH] lint, https://github.com/phetsims/tasks/issues/1012 --- js/common/model/engine/AbstractPhaseStateChanger.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/common/model/engine/AbstractPhaseStateChanger.js b/js/common/model/engine/AbstractPhaseStateChanger.js index 9708b879..37cf486a 100644 --- a/js/common/model/engine/AbstractPhaseStateChanger.js +++ b/js/common/model/engine/AbstractPhaseStateChanger.js @@ -71,11 +71,10 @@ define( require => { let posX; let posY; - let minInitialInterParticleDistance; const moleculeDataSet = this.multipleParticleModel.moleculeDataSet; const moleculeCenterOfMassPositions = moleculeDataSet.moleculeCenterOfMassPositions; - minInitialInterParticleDistance = 1.2; // empirically chosen + const minInitialInterParticleDistance = 1.2; // empirically chosen const rangeX = this.multipleParticleModel.normalizedContainerWidth - ( 2 * MIN_INITIAL_PARTICLE_TO_WALL_DISTANCE ); const rangeY = this.multipleParticleModel.normalizedContainerHeight - ( 2 * MIN_INITIAL_PARTICLE_TO_WALL_DISTANCE ); for ( let i = 0; i < rangeX / minInitialInterParticleDistance; i++ ) {