Skip to content

Commit

Permalink
remove extra braces
Browse files Browse the repository at this point in the history
  • Loading branch information
crisbeto committed Apr 12, 2015
1 parent 9eeb594 commit ff564a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/roundProgressService.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ angular.module('angular-svg-round-progress').service('roundProgressService', [fu
if(!size) return ring;

var value = val >= total ? total - 0.00001 : val,
type = (isSemicircle ? 180 : 359.9999),
type = isSemicircle ? 180 : 359.9999,
perc = total === 0 ? 0 : (value / total) * type,
x = size/2,
start = polarToCartesian(x, x, R, perc), // in this case x and y are the same
Expand Down

0 comments on commit ff564a8

Please sign in to comment.