]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix typo 1302/head
authorJan Nicklas <j.nicklas@sinnerschrader.com>
Fri, 10 Jul 2015 09:53:35 +0000 (11:53 +0200)
committerJan Nicklas <j.nicklas@sinnerschrader.com>
Fri, 10 Jul 2015 09:53:35 +0000 (11:53 +0200)
src/Chart.Core.js

index 8d610418b8db58861fe1dd0d0f80bbf58f73db89..1b977c080ae4711ae63bdaf2be987f7bcb1787cc 100755 (executable)
 
                        // 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) ?