From: Evert Timberg Date: Sat, 23 May 2015 19:18:33 +0000 (-0400) Subject: Ensure consistency in the helpers.toRadians name X-Git-Tag: v2.0-alpha~8^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a559ab85cd16a1e18e14f4aacbbc0fd6f7f75cbd;p=thirdparty%2FChart.js.git Ensure consistency in the helpers.toRadians name --- diff --git a/src/Chart.Core.js b/src/Chart.Core.js index 0121b11a1..66f3d1e29 100755 --- a/src/Chart.Core.js +++ b/src/Chart.Core.js @@ -402,7 +402,7 @@ return 0; } }, - toRadians = helpers.radians = function(degrees) { + toRadians = helpers.toRadians = function(degrees) { return degrees * (Math.PI / 180); }, toDegrees = helpers.toDegrees = function(radians) {