Skip to content

Commit

Permalink
Remove code related to debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
Denz1994 committed Mar 9, 2020
1 parent d70e927 commit 774dfc2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
8 changes: 0 additions & 8 deletions js/common/model/Bucket.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
10 changes: 0 additions & 10 deletions js/common/model/Kit.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,6 @@ class Kit {
// @public {Property.<Atom|null>}
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.<boolean>}
this.activeProperty = new BooleanProperty( false );
this.visibleProperty = new BooleanProperty( false );
Expand Down Expand Up @@ -575,8 +567,6 @@ class Kit {
}
} );
}
// REVIEW: Why do we want this check?
// assert && assert( this.getMolecule( a ) === this.getMolecule( b ) );
}

/**
Expand Down

0 comments on commit 774dfc2

Please sign in to comment.