Skip to content

Commit 5c9e5c6

Browse files
authored
Fix some typos (#11781)
1 parent 3d08012 commit 5c9e5c6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/migration/v4-migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ A number of changes were made to the configuration options passed to the `Chart`
2828
* If the tooltip callback returns `undefined`, then the default callback will be used.
2929
* `maintainAspectRatio` respects container height.
3030
* Time and timeseries scales use `ticks.stepSize` instead of `time.stepSize`, which has been removed.
31-
* `maxTickslimit` wont be used for the ticks in `autoSkip` if the determined max ticks is less then the `maxTicksLimit`.
31+
* `maxTickslimit` won't be used for the ticks in `autoSkip` if the determined max ticks is less then the `maxTicksLimit`.
3232
* `dist/chart.js` has been removed.
3333
* `dist/chart.min.js` has been renamed to `dist/chart.umd.js`.
3434
* `dist/chart.esm.js` has been renamed to `dist/chart.js`.

src/core/core.controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,7 @@ class Chart {
12641264
/**
12651265
* @param {ChartEvent} e - The event
12661266
* @param {import('../types/index.js').ActiveElement[]} lastActive - Previously active elements
1267-
* @param {boolean} inChartArea - Is the envent inside chartArea
1267+
* @param {boolean} inChartArea - Is the event inside chartArea
12681268
* @param {boolean} useFinalPosition - Should the evaluation be done with current or final (after animation) element positions
12691269
* @returns {import('../types/index.js').ActiveElement[]} - The active elements
12701270
* @pravate

test/specs/helpers.config.tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ describe('Chart.helpers.config', function() {
293293
});
294294
});
295295

296-
it('should fallback throuhg multiple routes', function() {
296+
it('should fallback through multiple routes', function() {
297297
const descriptors = {
298298
_fallback: 'level1',
299299
level1: {

0 commit comments

Comments
 (0)