aboutsummaryrefslogtreecommitdiffstats
path: root/src/animation
diff options
context:
space:
mode:
Diffstat (limited to 'src/animation')
-rw-r--r--src/animation/Runner.js6
-rw-r--r--src/animation/Timeline.js6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/animation/Runner.js b/src/animation/Runner.js
index cf18201..5639f84 100644
--- a/src/animation/Runner.js
+++ b/src/animation/Runner.js
@@ -360,7 +360,7 @@ export default class Runner extends EventTarget {
this.fire('step', this)
}
// correct the done flag here
- // declaritive animations itself know when they converged
+ // declarative animations itself know when they converged
this.done = this.done || (converged && declarative)
if (justFinished) {
this.fire('finished', this)
@@ -619,7 +619,7 @@ registerMethods({
// this function searches for all runners on the element and deletes the ones
// which run before the current one. This is because absolute transformations
- // overwfrite anything anyway so there is no need to waste time computing
+ // overwrite anything anyway so there is no need to waste time computing
// other runners
_clearTransformRunnersBefore (currentRunner) {
this._transformationRunners.clearBefore(currentRunner.id)
@@ -769,7 +769,7 @@ extend(Runner, {
? transforms.affine
: (affine != null ? affine : !isMatrix)
- // Create a morepher and set its type
+ // Create a morpher and set its type
const morpher = new Morphable(this._stepper)
.type(affine ? TransformBag : Matrix)
diff --git a/src/animation/Timeline.js b/src/animation/Timeline.js
index 928c334..387b59b 100644
--- a/src/animation/Timeline.js
+++ b/src/animation/Timeline.js
@@ -243,12 +243,12 @@ export default class Timeline extends EventTarget {
// the runner to position 0
// FIXME:
- // However, reseting in insertion order leads to bugs. Considering the case,
+ // However, resetting in insertion order leads to bugs. Considering the case,
// where 2 runners change the same attribute but in different times,
- // reseting both of them will lead to the case where the later defined
+ // resetting both of them will lead to the case where the later defined
// runner always wins the reset even if the other runner started earlier
// and therefore should win the attribute battle
- // this can be solved by reseting them backwards
+ // this can be solved by resetting them backwards
for (let k = this._runners.length; k--;) {
// Get and run the current runner and ignore it if its inactive
const runnerInfo = this._runners[k]