summaryrefslogtreecommitdiffstats
path: root/src/transform.js
diff options
context:
space:
mode:
authorFuzzy <ulima.ums@googlemail.com>2015-09-15 22:54:01 +0200
committerFuzzy <ulima.ums@googlemail.com>2015-09-15 22:54:01 +0200
commit4ebc6aa1b03e83d3c256399715e453f14f5b0aec (patch)
tree7cf295c56a3f2f9d94d8c7cb1a73ca48c5f22bfc /src/transform.js
parentad9a503ba6526cbc066c01bc3199dd9b8c680b7a (diff)
parent116872360580b0e34e215083157cc3bdf1800e3a (diff)
downloadsvg.js-4ebc6aa1b03e83d3c256399715e453f14f5b0aec.tar.gz
svg.js-4ebc6aa1b03e83d3c256399715e453f14f5b0aec.zip
Merge pull request #372 from rayglover/fix-ie-transforms
Transform lists in IE11
Diffstat (limited to 'src/transform.js')
-rw-r--r--src/transform.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transform.js b/src/transform.js
index 2023439..c1afd73 100644
--- a/src/transform.js
+++ b/src/transform.js
@@ -130,7 +130,7 @@ SVG.extend(SVG.Element, {
.split(/\)\s*/).slice(0,-1).map(function(str){
// generate key => value pairs
var kv = str.trim().split('(')
- return [kv[0], kv[1].split(',').map(function(str){ return parseFloat(str) })]
+ return [kv[0], kv[1].split(SVG.regex.matrixElements).map(function(str){ return parseFloat(str) })]
})
// calculate every transformation into one matrix
.reduce(function(matrix, transform){