From 02616b9f17b336762ad061dc96b0688affd79b79 Mon Sep 17 00:00:00 2001 From: "Amir E. Aharoni" Date: Tue, 23 Jun 2015 01:01:59 +0300 Subject: [PATCH] Fix the spelling of "separate" --- docs/06-Advanced.md | 2 +- src/Chart.Core.js | 2 +- src/Chart.Line.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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){ -- 2.47.2