aboutsummaryrefslogtreecommitdiffstats
path: root/dist/svg.js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/svg.js')
-rw-r--r--dist/svg.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/dist/svg.js b/dist/svg.js
index 1e50b12..2a477b7 100644
--- a/dist/svg.js
+++ b/dist/svg.js
@@ -6,7 +6,7 @@
* @copyright Wout Fierens <wout@impinc.co.uk>
* @license MIT
*
-* BUILT: Wed Nov 18 2015 01:14:40 GMT+0100 (Mitteleuropäische Zeit)
+* BUILT: Wed Nov 18 2015 01:17:09 GMT+0100 (Mitteleuropäische Zeit)
*/;
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
@@ -1208,6 +1208,9 @@ SVG.Element = SVG.invent({
})
}
+ // remove previously set data
+ this.node.removeAttribute('svgjs:data')
+
if(Object.keys(this.dom).length)
this.node.setAttributeNS(SVG.svgjs, 'svgjs:data', JSON.stringify(this.dom))