From 774dfc206a528d9181483c782b2f7ab4a688cfd9 Mon Sep 17 00:00:00 2001 From: denz1994 Date: Mon, 9 Mar 2020 12:44:43 -0400 Subject: [PATCH] Remove code related to debugging. --- js/common/model/Bucket.js | 8 -------- js/common/model/Kit.js | 10 ---------- 2 files changed, 18 deletions(-) diff --git a/js/common/model/Bucket.js b/js/common/model/Bucket.js index abfcc248..2524f97d 100644 --- a/js/common/model/Bucket.js +++ b/js/common/model/Bucket.js @@ -48,14 +48,6 @@ class Bucket extends SphereBucket { // Set after buckets are initially filled at sim start up. this.fullState = []; - // REVIEW: Used for debugging. - // this.particleList.addItemAddedListener( () => { - // console.log( 'particleList.added = ', this.particleList._array ); - // } ); - // this.particleList.addItemRemovedListener( () => { - // console.log( 'particleList.removed = ', this.particleList._array ); - // } ); - // @public this.element = element; this.width = this.containerShape.bounds.width * 0.95; diff --git a/js/common/model/Kit.js b/js/common/model/Kit.js index 1bb0b0fa..0ade7849 100644 --- a/js/common/model/Kit.js +++ b/js/common/model/Kit.js @@ -40,14 +40,6 @@ class Kit { // @public {Property.} this.selectedAtomProperty = new Property( null ); - // // REVIEW: Used for debugging. - // this.atomsInPlayArea.addItemAddedListener( atom => { - // console.log( 'kit.atomsInPlayArea.added = ', this.atomsInPlayArea._array ); - // } ); - // this.atomsInPlayArea.addItemRemovedListener( atom => { - // console.log( 'kit.atomsInPlayArea.removed = ', this.atomsInPlayArea._array ); - // } ); - // @public {Property.} this.activeProperty = new BooleanProperty( false ); this.visibleProperty = new BooleanProperty( false ); @@ -575,8 +567,6 @@ class Kit { } } ); } - // REVIEW: Why do we want this check? - // assert && assert( this.getMolecule( a ) === this.getMolecule( b ) ); } /**