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 committed Feb 26, 2021
1 parent 02bb854 commit 5c974f3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion js/AtomComponentEnum.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

// Copyright 2015-2019, University of Colorado Boulder

/**
Expand Down
6 changes: 3 additions & 3 deletions js/view/InteractiveSchematicAtom.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ class InteractiveSchematicAtom extends Node {
this.addChild( electronLayer );

// Add the nucleon particle views.
const nucleonGroupTandem = options.tandem && options.tandem.createTandem('nucleons').createGroupTandem( 'nucleon' );
const electronGroupTandem = options.tandem && options.tandem.createTandem('electrons').createGroupTandem( 'electron' );
const nucleonGroupTandem = options.tandem && options.tandem.createTandem( 'nucleons' ).createGroupTandem( 'nucleon' );
const electronGroupTandem = options.tandem && options.tandem.createTandem( 'electrons' ).createGroupTandem( 'electron' );
model.nucleons.forEach( nucleon => {
const particleView = new ParticleView( nucleon, modelViewTransform, {
highContrastProperty: options.highContrastProperty,
Expand Down Expand Up @@ -129,7 +129,7 @@ class InteractiveSchematicAtom extends Node {
model.electronShellDepictionProperty.link( updateElectronVisibility );

// Add the front portion of the buckets. This is done separately from the bucket holes for layering purposes.
const bucketGroupTandem = options.tandem.createTandem('bucketFronts').createGroupTandem( 'bucketFront' );
const bucketGroupTandem = options.tandem.createTandem( 'bucketFronts' ).createGroupTandem( 'bucketFront' );
const bucketFrontsAndDragHandlers = []; // keep track for disposal
_.each( model.buckets, bucket => {
const bucketFront = new BucketFront( bucket, modelViewTransform, { tandem: bucketGroupTandem.createNextTandem() } );
Expand Down
2 changes: 1 addition & 1 deletion js/view/PeriodicTableCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class PeriodicTableCell extends Rectangle {
atomicNumber,
AtomIdentifier.getNumNeutronsInMostCommonIsotope( atomicNumber ),
atomicNumber
)
)
} );
this.addInputListener( buttonListener );
}
Expand Down

0 comments on commit 5c974f3

Please sign in to comment.