]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix some typos (#11781)
authorJon Dufresne <jon.dufresne@gmail.com>
Tue, 21 May 2024 10:10:07 +0000 (03:10 -0700)
committerGitHub <noreply@github.com>
Tue, 21 May 2024 10:10:07 +0000 (12:10 +0200)
docs/migration/v4-migration.md
src/core/core.controller.js
test/specs/helpers.config.tests.js

index eeeeb3112a51b191094fe595f1e8e47ffd3a3d03..8e014bb8982ae7d1c8400b5f40d32492d564e4da 100644 (file)
@@ -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`.
index a54c5a03283c744fdceaa8a54d672f6164d40044..3c643e8ba3f94d2f83892239d70ff5e3f2ec13ba 100644 (file)
@@ -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
index b4d08b9602a525c7281586c79c203ced56414c91..50054dfed8a90e911b183b5a15f0017a5c4f2514 100644 (file)
@@ -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: {