summaryrefslogtreecommitdiffstats
path: root/src/matrix.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-09-03 12:15:16 +0200
committerwout <wout@impinc.co.uk>2014-09-03 12:15:16 +0200
commit69da2d385450daa158d75ebe59449cc044ec8022 (patch)
tree94d13794806978d4a8ca4d50ac0323b7d93475b7 /src/matrix.js
parent826649995f1aae806fb9bf8464a4259c4290c4fb (diff)
downloadsvg.js-69da2d385450daa158d75ebe59449cc044ec8022.tar.gz
svg.js-69da2d385450daa158d75ebe59449cc044ec8022.zip
Firefox fixes and event specs
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 d1757f3..cbd053f 100644
--- a/src/matrix.js
+++ b/src/matrix.js
@@ -15,7 +15,7 @@ SVG.Matrix = SVG.invent({
// merge source
for (i = abcdef.length - 1; i >= 0; i--)
- this[abcdef[i]] = typeof source[abcdef[i]] === 'number' ?
+ this[abcdef[i]] = source && typeof source[abcdef[i]] === 'number' ?
source[abcdef[i]] : base[abcdef[i]]
}