Skip to content

Commit

Permalink
simplify code comment, phetsims/gravity-force-lab-basics#128
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed May 31, 2019
1 parent 109a9a5 commit 582ac05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/accessibility/AccessibleValueHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,8 @@ define( require => {

const formattedValue = this.getA11yFormattedValue();

// create the final string from optional parameters. This looks messy, but in reality you can only supply
// the valuePattern OR the create function, so this works as an "either or" situation.
// create the final string from optional parameters. Only the valuePattern OR the create function can be
// specified (see above assertions).
this.ariaValueText = StringUtils.fillIn( this.a11yValuePattern, {
value: this.a11yCreateValueChangeAriaValueText( formattedValue, this._valueProperty.value, oldValue )
} );
Expand Down

0 comments on commit 582ac05

Please sign in to comment.