From: Tim Gates Date: Fri, 10 Apr 2020 00:46:41 +0000 (+1000) Subject: docs: Fix simple typo, layed -> laid (#7263) X-Git-Tag: v3.0.0-beta.2~171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f7cdf18274748fd7f89ef6c9896b52300b9c33f;p=thirdparty%2FChart.js.git docs: Fix simple typo, layed -> laid (#7263) There is a small typo in src/core/core.layouts.js, src/core/core.plugins.js. Should read `laid` rather than `layed`. --- diff --git a/src/core/core.layouts.js b/src/core/core.layouts.js index 0bf54834d..d1261d63f 100644 --- a/src/core/core.layouts.js +++ b/src/core/core.layouts.js @@ -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) { diff --git a/src/core/core.plugins.js b/src/core/core.plugins.js index adad43d8c..3539a2347 100644 --- a/src/core/core.plugins.js +++ b/src/core/core.plugins.js @@ -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.