summaryrefslogtreecommitdiffstats
path: root/src/matrix.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/matrix.js')
-rw-r--r--src/matrix.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/matrix.js b/src/matrix.js
index 60f3531..970e3be 100644
--- a/src/matrix.js
+++ b/src/matrix.js
@@ -7,7 +7,7 @@ SVG.Matrix = SVG.invent({
source = source instanceof SVG.Element ?
source.matrixify() :
typeof source === 'string' ?
- stringToMatrix(source) :
+ arrayToMatrix(source.split(SVG.regex.delimiter).map(parseFloat)) :
arguments.length == 6 ?
arrayToMatrix([].slice.call(arguments)) :
Array.isArray(source) ?