Skip to content

Commit

Permalink
Apply WebStorm formatting, see phetsims/phet-info#155
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid authored and jessegreenberg committed Apr 21, 2021
1 parent 7d0e338 commit 72ff486
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions js/photon-absorption/model/PhotonTarget.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ const PhotonTarget = Enumeration.byKeys( [
* @returns {string} - the control panel molecule name
*/
enumeration.getMoleculeName = photonTarget => photonTarget === enumeration.SINGLE_CO_MOLECULE ? controlPanelCarbonMonoxideString :
photonTarget === enumeration.SINGLE_N2_MOLECULE ? controlPanelNitrogenString :
photonTarget === enumeration.SINGLE_O2_MOLECULE ? controlPanelOxygenString :
photonTarget === enumeration.SINGLE_CO2_MOLECULE ? controlPanelCarbonDioxideString :
photonTarget === enumeration.SINGLE_NO2_MOLECULE ? controlPanelNitrogenDioxideString :
photonTarget === enumeration.SINGLE_H2O_MOLECULE ? controlPanelWaterString :
photonTarget === enumeration.SINGLE_O3_MOLECULE ? controlPanelOzoneString :
photonTarget === enumeration.SINGLE_CH4_MOLECULE ? controlPanelMethaneString :
assert && assert( false, 'unknown' );
photonTarget === enumeration.SINGLE_N2_MOLECULE ? controlPanelNitrogenString :
photonTarget === enumeration.SINGLE_O2_MOLECULE ? controlPanelOxygenString :
photonTarget === enumeration.SINGLE_CO2_MOLECULE ? controlPanelCarbonDioxideString :
photonTarget === enumeration.SINGLE_NO2_MOLECULE ? controlPanelNitrogenDioxideString :
photonTarget === enumeration.SINGLE_H2O_MOLECULE ? controlPanelWaterString :
photonTarget === enumeration.SINGLE_O3_MOLECULE ? controlPanelOzoneString :
photonTarget === enumeration.SINGLE_CH4_MOLECULE ? controlPanelMethaneString :
assert && assert( false, 'unknown' );
}
} );
moleculesAndLight.register( 'PhotonTarget', PhotonTarget );
Expand Down

0 comments on commit 72ff486

Please sign in to comment.