]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
docs: Fix simple typo, layed -> laid (#7263)
authorTim Gates <tim.gates@iress.com>
Fri, 10 Apr 2020 00:46:41 +0000 (10:46 +1000)
committerGitHub <noreply@github.com>
Fri, 10 Apr 2020 00:46:41 +0000 (20:46 -0400)
There is a small typo in src/core/core.layouts.js, src/core/core.plugins.js.

Should read `laid` rather than `layed`.

src/core/core.layouts.js
src/core/core.plugins.js

index 0bf54834d7df449f53cb5551fd04cd602610e147..d1261d63f9f23765dcec7d4950af5c7d20197be3 100644 (file)
@@ -236,7 +236,7 @@ export default {
         * Register a box to a chart.
         * A box is simply a reference to an object that requires layout. eg. Scales, Legend, Title.
         * @param {Chart} chart - the chart to use
-        * @param {ILayoutItem} item - the item to add to be layed out
+        * @param {ILayoutItem} item - the item to add to be laid out
         */
        addBox(chart, item) {
                if (!chart.boxes) {
index adad43d8c6315f14971b9898ae107d677814c177..3539a2347a939e5d4e1a8a62a140907c0052f2e2 100644 (file)
@@ -266,7 +266,7 @@ export default new PluginService();
  */
 /**
  * @method IPlugin#afterLayout
- * @desc Called after the `chart` has been layed out. Note that this hook will not
+ * @desc Called after the `chart` has been laid out. Note that this hook will not
  * be called if the layout update has been previously cancelled.
  * @param {Chart} chart - The chart instance.
  * @param {object} options - The plugin options.