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/pointed.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/pointed.js')
-rw-r--r-- | src/pointed.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pointed.js b/src/pointed.js index 02ff44e..9ef70d3 100644 --- a/src/pointed.js +++ b/src/pointed.js @@ -1,5 +1,5 @@ // unify all point to point elements -SVG.extend(SVG.Line, SVG.Polyline, SVG.Polygon, { +SVG.extend([SVG.Line, SVG.Polyline, SVG.Polygon], { // Define morphable array morphArray: SVG.PointArray // Move by left top corner over x-axis |