]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Made some grammar fixes (#10820)
authorAndrew Dawes <andrewsdawes@gmail.com>
Sat, 22 Oct 2022 16:44:32 +0000 (18:44 +0200)
committerGitHub <noreply@github.com>
Sat, 22 Oct 2022 16:44:32 +0000 (19:44 +0300)
docs/developers/plugins.md
docs/developers/publishing.md
docs/general/padding.md

index 9e967a8874a26ae7f381b2b311e6e5ab5d2667b6..60747416b919f7b4c2ac1b0ef405735c3d10f591 100644 (file)
@@ -147,7 +147,7 @@ Read more about the [existing plugin extension hooks](../api/interfaces/Plugin).
 
 ### Chart Initialization
 
-Plugins are notified during the initialization process. These hooks can be used to setup data needed for the plugin to operate.
+Plugins are notified during the initialization process. These hooks can be used to set up data needed for the plugin to operate.
 
 ![Chart.js init flowchart](./init_flowchart.png)
 
index e360236db1ce828132ca6db07ffcb40ab7641cdb..8090b96b046ac57f1d22003e50ef91cd58073ba6 100644 (file)
@@ -10,7 +10,7 @@ Note the minimum extension age requirement of 30 days.
 
 ## ESM
 
-If you are utilizing ESM, you probably still want to publish an UMD bundle of your extension. Because Chart.js v3 is tree shakeable, the interface is a bit different.
+If you are utilizing ESM, you probably still want to publish a UMD bundle of your extension. Because Chart.js v3 is tree shakeable, the interface is a bit different.
 UMD package's global `Chart` includes everything, while ESM package exports all the things separately.
 Fortunately, most of the exports can be mapped automatically by the bundlers.
 
index bcd73cfd458643e1845125f527b6015e2c819e54..507b4c1fbe6d78cb673de11c96ef149e1c6c6fbd 100644 (file)
@@ -1,6 +1,6 @@
 # Padding
 
-Padding values in Chart options can be supplied in couple of different formats.
+Padding values in Chart options can be supplied in couple of different formats.
 
 ## Number
 
@@ -25,7 +25,7 @@ let chart = new Chart(ctx, {
 If this value is an object, the `left` property defines the left padding. Similarly the `right`, `top` and `bottom` properties can also be specified.
 Omitted properties default to `0`.
 
-Lets say you wanted to add 50px of padding to the left side of the chart canvas, you would do:
+Let's say you wanted to add 50px of padding to the left side of the chart canvas, you would do:
 
 ```javascript
 let chart = new Chart(ctx, {