docs: Fix typos in some files

(cherry picked from commit a625f6bb20)
This commit is contained in:
khanhkhanhlele 2025-11-07 10:11:40 +07:00 committed by Jessica Janiuk
parent 8e73f54f38
commit 59798a13dd
3 changed files with 5 additions and 5 deletions

View file

@ -20,7 +20,7 @@ import {CssPropertyValue, cssValueParser, stringifyParsedValue} from './parser';
import {calculateNextCssValue} from './calculations';
import {AnimationPlugin} from './plugins/types';
// The string seperator between a layed ID and an object selector.
// The string separator between a laid ID and an object selector.
const SEL_SEPARATOR = '>>';
// One millisecond.
@ -230,7 +230,7 @@ export class Animation {
if (time >= 0) {
this.updateFrame(time);
// Un-complete the animation, if it was completed.
// Incomplete the animation, if it was completed.
this.completed = false;
}
}
@ -314,7 +314,7 @@ export class Animation {
let sourceStyles: ParsedStyles; // Opposite direction styles
let relativeDeltaT: number;
// Determine the change direction. Negative Dt means going back in time; postive forward.
// Determine the change direction. Negative Dt means going back in time; positive forward.
//
// It's important to calculate the relative time since the global current time might go out of
// rule boundaries which will scew the final change rate calculations.

View file

@ -190,7 +190,7 @@ export function generateHomeAnimationDefinition(
hideLetter(U_LETTER, 2.5),
hideLetter(G_LETTER, 3),
hideLetter(N_LETTER, 3.5),
// Make sure that the last letter disappers at the end of layer transition,
// Make sure that the last letter disappears at the end of layer transition,
// i.e. 4 + 1 = 5th second end time
hideLetter(CAPITAL_A_LETTER, 4),
{

View file

@ -109,7 +109,7 @@ export class HomeAnimationComponent {
});
}
/** Calculte the dimensions and sizes of a meteor  width, height, tail, tilt angle, etc. */
/** Calculate the dimensions and sizes of a meteor  width, height, tail, tilt angle, etc. */
private calculateMeteorDimensions(): MeteorDimensions {
let width = METEOR_WIDTH_DEFAULT;