Fix typos found by codespell (#10103)

This commit is contained in:
Dimitri Papadopoulos Orfanos
2022-01-27 15:24:55 +01:00
committed by GitHub
parent ec67123df8
commit a7d98fb1a0
16 changed files with 22 additions and 22 deletions

View File

@@ -203,7 +203,7 @@ function _resolveWithContext(target, prop, receiver) {
value = _resolveArray(prop, value, target, descriptors.isIndexable);
}
if (needsSubResolver(prop, value)) {
// if the resolved value is an object, crate a sub resolver for it
// if the resolved value is an object, create a sub resolver for it
value = _attachContext(value, _context, _subProxy && _subProxy[prop], descriptors);
}
return value;

View File

@@ -17,7 +17,7 @@ export const requestAnimFrame = (function() {
/**
* Throttles calling `fn` once per animation frame
* Latest argments are used on the actual call
* Latest arguments are used on the actual call
* @param {function} fn
* @param {*} thisArg
* @param {function} [updateFn]

View File

@@ -1013,7 +1013,7 @@ export class Tooltip extends Element {
* Handle an event
* @param {ChartEvent} e - The event to handle
* @param {boolean} [replay] - This is a replayed event (from update)
* @param {boolean} [inChartArea] - The event is indide chartArea
* @param {boolean} [inChartArea] - The event is inside chartArea
* @returns {boolean} true if the tooltip changed
*/
handleEvent(e, replay, inChartArea = true) {
@@ -1054,11 +1054,11 @@ export class Tooltip extends Element {
/**
* Helper for determining the active elements for event
* @param {ChartEvent} e - The event to handle
* @param {Element[]} lastActive - Previously active elements
* @param {Element[]} lastActive - Previously active elements
* @param {boolean} [replay] - This is a replayed event (from update)
* @param {boolean} [inChartArea] - The event is indide chartArea
* @param {boolean} [inChartArea] - The event is inside chartArea
* @returns {Element[]} - Active elements
* @private
* @private
*/
_getActiveElements(e, lastActive, replay, inChartArea) {
const options = this.options;