From: Jan Nicklas Date: Fri, 10 Jul 2015 09:53:35 +0000 (+0200) Subject: Fix typo X-Git-Tag: v1.1.0~25^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F1302%2Fhead;p=thirdparty%2FChart.js.git Fix typo --- diff --git a/src/Chart.Core.js b/src/Chart.Core.js index 8d610418b..1b977c080 100755 --- a/src/Chart.Core.js +++ b/src/Chart.Core.js @@ -1283,8 +1283,8 @@ // Normalize all angles to 0 - 2*PI (0 - 360°) var pointRelativeAngle = pointRelativePosition.angle % (Math.PI * 2), - var startAngle = (Math.PI * 2 + this.startAngle) % (Math.PI * 2), - var endAngle = (Math.PI * 2 + this.endAngle) % (Math.PI * 2) || 360; + startAngle = (Math.PI * 2 + this.startAngle) % (Math.PI * 2), + endAngle = (Math.PI * 2 + this.endAngle) % (Math.PI * 2) || 360; // Calculate wether the pointRelativeAngle is between the start and the end angle var betweenAngles = (endAngle < startAngle) ?