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 03187e6 commit 9b9d385
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
1 change: 1 addition & 0 deletions js/common/model/AttractorModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ class ResultMapping {
return rotated.extractVector3( 0 );
}
}

AttractorModel.ResultMapping = ResultMapping;

/**
Expand Down
1 change: 1 addition & 0 deletions js/common/model/MoleculeShapesModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class MoleculeShapesModel {
this.showMolecularShapeNameProperty.reset();
this.showElectronShapeNameProperty.reset();
}

/**
* Steps the model forward.
* @public
Expand Down
3 changes: 2 additions & 1 deletion js/common/view/3d/BondAngleView.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ class BondAngleView extends THREE.Object3D {
this.label.unsetLabel();
}
}
// @public

// @public

/**
* Determines the brightness (alpha) of a bond angle based on the orientations of the two radial atoms, the camera,
Expand Down
6 changes: 3 additions & 3 deletions js/common/view/MoleculeShapesScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,9 @@ class MoleculeShapesScreenView extends ScreenView {
return {
threeRenderer: renderer,
checkOutLabel: () => ( {
setLabel: () => {},
unsetLabel: () => {}
} ),
setLabel: () => {},
unsetLabel: () => {}
} ),
returnLabel: () => {}
};
}
Expand Down
4 changes: 4 additions & 0 deletions js/common/view/TitledPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class TitledPanel extends Node {
getStroke() {
return this.panel.stroke;
}

get stroke() { return this.getStroke(); }

/**
Expand All @@ -78,6 +79,7 @@ class TitledPanel extends Node {
setStroke( stroke ) {
this.panel.stroke = stroke;
}

set stroke( value ) { this.setStroke( value ); }

/**
Expand All @@ -88,6 +90,7 @@ class TitledPanel extends Node {
getFill() {
return this.panel.fill;
}

get fill() { return this.getFill(); }

/**
Expand All @@ -100,6 +103,7 @@ class TitledPanel extends Node {

this.titleBackgroundNode.fill = fill;
}

set fill( value ) { this.setFill( value ); }
}

Expand Down

0 comments on commit 9b9d385

Please sign in to comment.