Skip to content

Commit

Permalink
replace format with fillIn, #472
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Feb 26, 2019
1 parent 598cf72 commit 373008a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/NumberSpinner.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ define( function( require ) {
var minString = StringUtils.fillIn( options.valuePattern, {
value: Util.toFixed( rangeProperty.value.min, options.decimalPlaces )
} );
var maxString = StringUtils.format( options.valuePattern, {
var maxString = StringUtils.fillIn( options.valuePattern, {
value: Util.toFixed( rangeProperty.value.max, options.decimalPlaces )
} );
var maxWidth = Math.max(
Expand Down

0 comments on commit 373008a

Please sign in to comment.