summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-11-07 22:42:38 +0100
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-11-07 22:42:38 +0100
commitdec70426b32ccf3979046e1637174b66bfdd1a8d (patch)
tree0f64a1803294f55f04d6f4a281845fcd3d1b151a /spec
parent9c3f0e89c9c4d4d999f3b54032202e187ab4ac1c (diff)
downloadsvg.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.js9
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'}