Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Jun 19, 2015
1 parent 3632977 commit 6fe16de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/Util.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,8 @@ define( function( require ) {
*/
toFixed: function( value, decimalPlaces ) {
var multiplier = Math.pow( 10, decimalPlaces );
var value = Util.roundSymmetric( value * multiplier ) / multiplier;
return value.toFixed( decimalPlaces );
var newValue = Util.roundSymmetric( value * multiplier ) / multiplier;
return newValue.toFixed( decimalPlaces );
},

// Convenience for returning a number instead of a string.
Expand Down

0 comments on commit 6fe16de

Please sign in to comment.