Skip to content

Commit

Permalink
refactoring GravityForceLabAlertManager, and remove unused parameters…
Browse files Browse the repository at this point in the history
…/vars etc, update visibility annotations, #134
  • Loading branch information
zepumph committed Jun 18, 2019
1 parent a5c93d9 commit a1b1dba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions js/gravity-force-lab-basics/view/GFLBAlertManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ define( require => {
* @param {GFLBModel} model
* @param {GFLBMassDescriber} massDescriber
* @param {GFLBForceDescriber} forceDescriber
* @param {GFLBPositionDescriber} positionDescriber
*/
constructor( model, massDescriber, forceDescriber, positionDescriber ) {
super( model, massDescriber, forceDescriber, positionDescriber, {
constructor( model, massDescriber, forceDescriber ) {
super( model, massDescriber, forceDescriber, {
linkToScientificNotationProperty: false, // opt out of REGULAR specific linking

// by default the REGULAR version is different from this because of scientific notation
Expand Down
2 changes: 1 addition & 1 deletion js/gravity-force-lab-basics/view/GFLBScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ define( require => {
const positionDescriber = new GFLBPositionDescriber( model, mass1LabelString, mass2LabelString );
const forceDescriber = new GFLBForceDescriber( model, mass1LabelString, mass2LabelString, positionDescriber );
const massDescriber = new GFLBMassDescriber( model );
const alertManager = new GFLBAlertManager( model, massDescriber, forceDescriber, positionDescriber );
const alertManager = new GFLBAlertManager( model, massDescriber, forceDescriber );

// The PDOM screen summary
const summaryNode = new GravityForceLabScreenSummaryNode( model, massDescriber, forceDescriber, positionDescriber, {
Expand Down

0 comments on commit a1b1dba

Please sign in to comment.