diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-03-03 12:00:22 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-03-03 12:00:22 +0100 |
commit | 31e94c28d85f676a0f4ec073a06435bc86b1dc73 (patch) | |
tree | 0b8075688109a4845ef13a2b783fb905a1f2661e /spec | |
parent | 0b2cb052313e26c5626cdba3e58dea915f0aa444 (diff) | |
download | svg.js-31e94c28d85f676a0f4ec073a06435bc86b1dc73.tar.gz svg.js-31e94c28d85f676a0f4ec073a06435bc86b1dc73.zip |
removed `size()` from `SVG.Text` to avoid name clash
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec/text.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/spec/text.js b/spec/spec/text.js index 61533de..2a3f3f8 100644 --- a/spec/spec/text.js +++ b/spec/spec/text.js @@ -133,13 +133,6 @@ describe('Text', function() { }) }) - describe('size()', function() { - it('should define the width and height of the element', function() { - text.size(50) - expect(text.attr('font-size').valueOf()).toBe(50) - }) - }) - describe('translate()', function() { it('sets the translation of an element', function() { text.transform({ x: 12, y: 12 }) |