Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet committed Feb 8, 2021
1 parent c0c6475 commit 71e78a0
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions js/AtomIdentifier.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Copyright 2014-2020, University of Colorado Boulder

/**
* Object that can be used to identify various things about an atom given its configuration, i.e. number of protons,
* neutrons, and/or electrons.
* AtomIdentifier is an object that can be used to identify various things about an atom given its configuration, such
* as its name, chemical symbols, and stable isotopes.
*
* @author John Blanco
* @author Jesse Greenberg
Expand Down Expand Up @@ -681,7 +681,6 @@ const numNeutronsInMostStableIsotope = [
// keys of type atomic number
// subkeys of type mass number
// subkeys of type atomicMass and abundance, which hold the values for each isotope.

const ISOTOPE_INFO_TABLE = {
1: { // atomic number
1: { // massNumber
Expand Down Expand Up @@ -1128,14 +1127,10 @@ const AtomIdentifier = {
if ( this.isStable( numProtons, numNeutrons ) ) {
stableIsotopesList.push( [ numProtons, numNeutrons, numProtons ] );
}

}


return stableIsotopesList;

}

};

shred.register( 'AtomIdentifier', AtomIdentifier );
Expand Down

0 comments on commit 71e78a0

Please sign in to comment.