diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2020-05-04 21:35:21 +1000 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2020-05-04 21:35:21 +1000 |
commit | c8cb22863bf8c3ac157f6098be9154908aea9ec2 (patch) | |
tree | b27b1bf6ec4c90bbd0cb335e26bb9ece504285d2 /src/animation/Runner.js | |
parent | 59f09a1a2317e57d13bbe8f60e1949cc82199ead (diff) | |
download | svg.js-c8cb22863bf8c3ac157f6098be9154908aea9ec2.tar.gz svg.js-c8cb22863bf8c3ac157f6098be9154908aea9ec2.zip |
Fixed IE Polyfills, got rid of ArrayPolyfill in favour of babels own transforms, updated dependencies, finished tests, removed old es5 tests
Diffstat (limited to 'src/animation/Runner.js')
-rw-r--r-- | src/animation/Runner.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/animation/Runner.js b/src/animation/Runner.js index e2ba380..e0ac5a8 100644 --- a/src/animation/Runner.js +++ b/src/animation/Runner.js @@ -9,11 +9,10 @@ import Animator from './Animator.js' import Box from '../types/Box.js' import EventTarget from '../types/EventTarget.js' import Matrix from '../types/Matrix.js' -import Morphable, { TransformBag } from './Morphable.js' +import Morphable, { TransformBag, ObjectBag } from './Morphable.js' import Point from '../types/Point.js' import SVGNumber from '../types/SVGNumber.js' import Timeline from './Timeline.js' -import { ObjectBag } from '../main.js' export default class Runner extends EventTarget { constructor (options) { @@ -654,11 +653,6 @@ registerMethods({ } }) -const intersect = (a, b) => { - var setB = new Set(b) - return [ ...new Set(a) ].filter(x => setB.has(x)) -} - // Will output the elements from array A that are not in the array B const difference = (a, b) => a.filter(x => !b.includes(x)) |