Skip to content

Commit

Permalink
Fix some typos (#11781)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdufresne authored May 21, 2024
1 parent 3d08012 commit 5c9e5c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/migration/v4-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ A number of changes were made to the configuration options passed to the `Chart`
* If the tooltip callback returns `undefined`, then the default callback will be used.
* `maintainAspectRatio` respects container height.
* Time and timeseries scales use `ticks.stepSize` instead of `time.stepSize`, which has been removed.
* `maxTickslimit` wont be used for the ticks in `autoSkip` if the determined max ticks is less then the `maxTicksLimit`.
* `maxTickslimit` won't be used for the ticks in `autoSkip` if the determined max ticks is less then the `maxTicksLimit`.
* `dist/chart.js` has been removed.
* `dist/chart.min.js` has been renamed to `dist/chart.umd.js`.
* `dist/chart.esm.js` has been renamed to `dist/chart.js`.
Expand Down
2 changes: 1 addition & 1 deletion src/core/core.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,7 @@ class Chart {
/**
* @param {ChartEvent} e - The event
* @param {import('../types/index.js').ActiveElement[]} lastActive - Previously active elements
* @param {boolean} inChartArea - Is the envent inside chartArea
* @param {boolean} inChartArea - Is the event inside chartArea
* @param {boolean} useFinalPosition - Should the evaluation be done with current or final (after animation) element positions
* @returns {import('../types/index.js').ActiveElement[]} - The active elements
* @pravate
Expand Down
2 changes: 1 addition & 1 deletion test/specs/helpers.config.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ describe('Chart.helpers.config', function() {
});
});

it('should fallback throuhg multiple routes', function() {
it('should fallback through multiple routes', function() {
const descriptors = {
_fallback: 'level1',
level1: {
Expand Down

0 comments on commit 5c9e5c6

Please sign in to comment.