From 64014919fcb25a288aa5b07cf6043282b2438d71 Mon Sep 17 00:00:00 2001 From: Andrew Dawes Date: Sat, 22 Oct 2022 18:44:32 +0200 Subject: [PATCH] Made some grammar fixes (#10820) --- docs/developers/plugins.md | 2 +- docs/developers/publishing.md | 2 +- docs/general/padding.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/developers/plugins.md b/docs/developers/plugins.md index 9e967a887..60747416b 100644 --- a/docs/developers/plugins.md +++ b/docs/developers/plugins.md @@ -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) diff --git a/docs/developers/publishing.md b/docs/developers/publishing.md index e360236db..8090b96b0 100644 --- a/docs/developers/publishing.md +++ b/docs/developers/publishing.md @@ -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. diff --git a/docs/general/padding.md b/docs/general/padding.md index bcd73cfd4..507b4c1fb 100644 --- a/docs/general/padding.md +++ b/docs/general/padding.md @@ -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 a 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, { -- 2.47.2