From: Amir E. Aharoni Date: Mon, 22 Jun 2015 22:01:59 +0000 (+0300) Subject: Fix the spelling of "separate" X-Git-Tag: v1.1.0~63^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F1241%2Fhead;p=thirdparty%2FChart.js.git Fix the spelling of "separate" --- diff --git a/docs/06-Advanced.md b/docs/06-Advanced.md index 3c8f97ded..85fe6d5a6 100644 --- a/docs/06-Advanced.md +++ b/docs/06-Advanced.md @@ -176,7 +176,7 @@ npm install -g gulp This will install the local development dependencies for Chart.js, along with a CLI for the JavaScript task runner gulp. -Now, we can run the `gulp build` task, and pass in a comma seperated list of types as an argument to build a custom version of Chart.js with only specified chart types. +Now, we can run the `gulp build` task, and pass in a comma-separated list of types as an argument to build a custom version of Chart.js with only specified chart types. Here we will create a version of Chart.js with only Line, Radar and Bar charts included: diff --git a/src/Chart.Core.js b/src/Chart.Core.js index d0a70336d..44db42dfc 100755 --- a/src/Chart.Core.js +++ b/src/Chart.Core.js @@ -407,7 +407,7 @@ var maxValue = max(valuesArray), minValue = min(valuesArray); - // We need some degree of seperation here to calculate the scales if all the values are the same + // We need some degree of separation here to calculate the scales if all the values are the same // Adding/minusing 0.5 will give us a range of 1. if (maxValue === minValue){ maxValue += 0.5; diff --git a/src/Chart.Line.js b/src/Chart.Line.js index d0a85d88d..2ca73db65 100644 --- a/src/Chart.Line.js +++ b/src/Chart.Line.js @@ -294,7 +294,7 @@ },this); - // Control points need to be calculated in a seperate loop, because we need to know the current x/y of the point + // Control points need to be calculated in a separate loop, because we need to know the current x/y of the point // This would cause issues when there is no animation, because the y of the next point would be 0, so beziers would be skewed if (this.options.bezierCurve){ helpers.each(pointsWithValues, function(point, index){