diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-11-07 22:42:38 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-11-07 22:42:38 +0100 |
commit | dec70426b32ccf3979046e1637174b66bfdd1a8d (patch) | |
tree | 0f64a1803294f55f04d6f4a281845fcd3d1b151a /spec | |
parent | 9c3f0e89c9c4d4d999f3b54032202e187ab4ac1c (diff) | |
download | svg.js-dec70426b32ccf3979046e1637174b66bfdd1a8d.tar.gz svg.js-dec70426b32ccf3979046e1637174b66bfdd1a8d.zip |
clone() does not insert the clone into the dom anymore, added beziere() and steps() to generate easing functions
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec/element.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/spec/element.js b/spec/spec/element.js index c209f34..07fe624 100644 --- a/spec/spec/element.js +++ b/spec/spec/element.js @@ -677,15 +677,6 @@ describe('Element', function() { expect(clone.get(0).id()).not.toBe(group.get(0).id()) expect(clone.get(1).id()).not.toBe(group.get(1).id()) }) - it('inserts the clone after the cloned element', function() { - clone = rect.clone() - expect(rect.next()).toBe(clone) - }) - it('inserts the clone in the specified parent', function() { - var g = draw.group() - clone = rect.clone(g) - expect(g.get(0)).toBe(clone) - }) it('deep copies over dom data', function() { group.dom = {'foo':'bar'} rect.dom = {'foo':'baz'} |