diff options
author | Tim Gates <tim.gates@iress.com> | 2023-04-05 21:12:10 +1000 |
---|---|---|
committer | Tim Gates <tim.gates@iress.com> | 2023-04-05 21:12:10 +1000 |
commit | d3630aa69816e78a274e5b18dd1e027aa8a7e6ec (patch) | |
tree | 6d60e71adf69fdb7b59534d4a2d4137d5d124a88 /src/animation/Runner.js | |
parent | d8ce1aec598e36457c0bb7e923cf5642420ceb86 (diff) | |
download | svg.js-d3630aa69816e78a274e5b18dd1e027aa8a7e6ec.tar.gz svg.js-d3630aa69816e78a274e5b18dd1e027aa8a7e6ec.zip |
docs: Fix a few typos
There are small typos in:
- spec/spec/animation/Runner.js
- src/animation/Runner.js
- src/animation/Timeline.js
Fixes:
- Should read `successful` rather than `successfull`.
- Should read `transforms` rather than `tranforms`.
- Should read `resetting` rather than `reseting`.
- Should read `overwrite` rather than `overwfrite`.
- Should read `morpher` rather than `morepher`.
- Should read `declarative` rather than `declaritive`.
Signed-off-by: Tim Gates <tim.gates@iress.com>
Diffstat (limited to 'src/animation/Runner.js')
-rw-r--r-- | src/animation/Runner.js | 6 |
1 files changed, 3 insertions, 3 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) |