Skip to content

Commit

Permalink
prefer Utils.toFixed when possible, phetsims/chipper#737
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Mar 26, 2021
1 parent 0728ce2 commit 9bca911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/kite.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const kite = new Namespace( 'kite' );
// being used for display purposes only, and is never shown to the user), we use the built-in JS toFixed instead of
// Dot's version of toFixed. See https://github.com/phetsims/kite/issues/50
kite.register( 'svgNumber', n => {
return n.toFixed( 20 );
return n.toFixed( 20 ); // eslint-disable-line bad-sim-text
} );

// will be filled in by other modules
Expand Down

0 comments on commit 9bca911

Please sign in to comment.