summaryrefslogtreecommitdiffstats
path: root/src/animation/Animator.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-12-05 19:36:28 +0100
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-12-05 19:36:28 +0100
commit5161dfdb3a08490da0ae1c5c8b6515eb0ae0da30 (patch)
tree03217ab484a962ea4b183c1d9902ffe92d08a153 /src/animation/Animator.js
parentf089db0c1990d75bbd34713f97f547045ae92fca (diff)
downloadsvg.js-3.0.3.tar.gz
svg.js-3.0.3.zip
Release 3.0.33.0.3
Diffstat (limited to 'src/animation/Animator.js')
-rw-r--r--src/animation/Animator.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/animation/Animator.js b/src/animation/Animator.js
index 2786602..64570eb 100644
--- a/src/animation/Animator.js
+++ b/src/animation/Animator.js
@@ -21,10 +21,6 @@ const Animator = {
return node
},
- transform_frame (fn, id) {
- Animator.transforms[id] = fn
- },
-
timeout (fn, delay) {
delay = delay || 0
@@ -74,10 +70,6 @@ const Animator = {
nextFrame.run()
}
- Animator.transforms.forEach(function (el) {
- el()
- })
-
// If we have remaining timeouts or frames, draw until we don't anymore
Animator.nextDraw = Animator.timeouts.first() || Animator.frames.first()
? globals.window.requestAnimationFrame(Animator._draw)