Skip to content

Commit

Permalink
add keyword-spacing to lint rules, phetsims/phet-info#156
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Feb 26, 2021
1 parent 9e34c74 commit 2b1fa82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/common/model/MultipleParticleModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ class MultipleParticleModel extends PhetioObject {
break;

default:
throw( new Error( 'unsupported substance' ) ); // should never happen, debug if it does
throw new Error( 'unsupported substance' ); // should never happen, debug if it does
}

if ( this.temperatureSetPointProperty.get() <= this.minModelTemperature ) {
Expand Down Expand Up @@ -501,7 +501,7 @@ class MultipleParticleModel extends PhetioObject {
break;

default:
throw( new Error( 'unsupported substance' ) ); // should never happen, debug if it does
throw new Error( 'unsupported substance' ); // should never happen, debug if it does
}

// Reset the container height.
Expand Down Expand Up @@ -746,7 +746,7 @@ class MultipleParticleModel extends PhetioObject {
this.initializeTriatomic( this.substanceProperty.get(), phase );
break;
default:
throw( new Error( 'unsupported substance' ) ); // should never happen, debug if it does
throw new Error( 'unsupported substance' ); // should never happen, debug if it does
}

// This is needed in case we were switching from another molecule that was under pressure.
Expand Down

0 comments on commit 2b1fa82

Please sign in to comment.