diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-04-24 22:49:29 +0200 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-04-25 15:10:09 +0200 |
commit | 5816fdb903476762394d6c52d15e5bc38e135bfd (patch) | |
tree | 70d1f2d1b8a5512f04789807dd7abba54060d209 /src/text.js | |
parent | ac3b9941c72a2e66bf113b2f652fcadfa24cc6de (diff) | |
download | svg.js-5816fdb903476762394d6c52d15e5bc38e135bfd.tar.gz svg.js-5816fdb903476762394d6c52d15e5bc38e135bfd.zip |
`SVG.extend` now expects exactly one module or an array of modules
Conflicts:
dist/svg.js
dist/svg.min.js
Diffstat (limited to 'src/text.js')
-rw-r--r-- | src/text.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text.js b/src/text.js index 67b1c2e..13dbf92 100644 --- a/src/text.js +++ b/src/text.js @@ -194,7 +194,7 @@ SVG.Tspan = SVG.invent({ }) -SVG.extend(SVG.Text, SVG.Tspan, { +SVG.extend([SVG.Text, SVG.Tspan], { // Create plain text node plain: function(text) { // clear if build mode is disabled |