aboutsummaryrefslogtreecommitdiffstats
path: root/dist/svg.js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/svg.js')
-rw-r--r--dist/svg.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/dist/svg.js b/dist/svg.js
index ed8162c..a120e9b 100644
--- a/dist/svg.js
+++ b/dist/svg.js
@@ -6,7 +6,7 @@
* @copyright Wout Fierens <wout@mick-wout.com>
* @license MIT
*
-* BUILT: Tue Feb 28 2017 12:01:38 GMT+0100 (Mitteleuropäische Zeit)
+* BUILT: Tue Feb 28 2017 13:49:34 GMT+0100 (Mitteleuropäische Zeit)
*/;
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
@@ -2317,6 +2317,8 @@ SVG.Matrix = SVG.invent({
stringToMatrix(source) :
arguments.length == 6 ?
arrayToMatrix([].slice.call(arguments)) :
+ Array.isArray(source) ?
+ arrayToMatrix(source) :
typeof source === 'object' ?
source : base
@@ -4919,7 +4921,7 @@ SVG.extend(SVG.Element, SVG.FX, {
}
// Map matrix to transform
, matrix: function(m) {
- return this.attr('transform', new SVG.Matrix(m))
+ return this.attr('transform', new SVG.Matrix(arguments.length == 6 ? [].slice.call(arguments) : m))
}
// Opacity
, opacity: function(value) {