diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2016-06-21 10:03:18 +0200 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2016-06-21 10:03:18 +0200 |
commit | 399dd4a2b4a381a3652695a3ab31f7da72100110 (patch) | |
tree | 2b432bf3ff41f87639ff4a7984907c5ed5b2522a /dist/svg.js | |
parent | 3579604331285969c5fd645afed8172d2b26ea67 (diff) | |
download | svg.js-399dd4a2b4a381a3652695a3ab31f7da72100110.tar.gz svg.js-399dd4a2b4a381a3652695a3ab31f7da72100110.zip |
bump 2.3.22.3.2
Diffstat (limited to 'dist/svg.js')
-rw-r--r-- | dist/svg.js | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/dist/svg.js b/dist/svg.js index c406519..3bbdf83 100644 --- a/dist/svg.js +++ b/dist/svg.js @@ -1,12 +1,12 @@ /*! * svg.js - A lightweight library for manipulating and animating SVG. -* @version 2.3.1 +* @version 2.3.2 * http://www.svgjs.com * * @copyright Wout Fierens <wout@woutfierens.com> * @license MIT * -* BUILT: Mon May 16 2016 16:59:37 GMT+0200 (Mitteleuropäische Sommerzeit) +* BUILT: Tue Jun 21 2016 10:02:37 GMT+0200 (Mitteleuropäische Sommerzeit) */; (function(root, factory) { if (typeof define === 'function' && define.amd) { @@ -2026,7 +2026,7 @@ SVG.BBox = SVG.invent({ try { // the element is NOT in the dom, throw error - if(!document.contains(element.node)) throw new Exception('Element not in the dom') + if(!document.documentElement.contains(element.node)) throw new Exception('Element not in the dom') // find native bbox box = element.node.getBBox() @@ -2795,7 +2795,12 @@ SVG.Transformation = SVG.invent({ } , undo: function(o){ + for(var i = 0, len = this.arguments.length; i < len; ++i){ + o[this.arguments[i]] = typeof this[this.arguments[i]] == 'undefined' ? 0 : o[this.arguments[i]] + } + this._undo = new SVG[capitalize(this.method)](o, true).at(1) + return this } |