]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix the spelling of "separate" 1241/head
authorAmir E. Aharoni <amir.aharoni@mail.huji.ac.il>
Mon, 22 Jun 2015 22:01:59 +0000 (01:01 +0300)
committerAmir E. Aharoni <amir.aharoni@mail.huji.ac.il>
Mon, 22 Jun 2015 22:01:59 +0000 (01:01 +0300)
docs/06-Advanced.md
src/Chart.Core.js
src/Chart.Line.js

index 3c8f97ded059c6ff5829272d1fd82cc974e4b24a..85fe6d5a657069e25ffc22fbe8d7977a1b74795e 100644 (file)
@@ -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 <a href="http://gulpjs.com/" target="_blank">gulp</a>.
 
-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:
 
index d0a70336d9c34091eae07f4188a3f5f41ddfa0a4..44db42dfcb9fbbe8c210a6a22fbc1541446995e3 100755 (executable)
                        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;
index d0a85d88d249e8ccc30604eb494f06ed18ec5b8b..2ca73db6535ad801ba90cd6ed961919b5602b1c8 100644 (file)
                                },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){