diff options
Diffstat (limited to 'dist/svg.js')
-rw-r--r-- | dist/svg.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dist/svg.js b/dist/svg.js index d8125b9..92dee8c 100644 --- a/dist/svg.js +++ b/dist/svg.js @@ -6,7 +6,7 @@ * @copyright Wout Fierens <wout@mick-wout.com> * @license MIT * -* BUILT: Thu Mar 09 2017 10:06:40 GMT+0100 (Mitteleuropäische Zeit) +* BUILT: Thu Mar 09 2017 12:29:50 GMT+0100 (Mitteleuropäische Zeit) */; (function(root, factory) { if (typeof define === 'function' && define.amd) { @@ -1075,7 +1075,10 @@ SVG.Element = SVG.invent({ .height(new SVG.Number(p.height)) } // Clone element - , clone: function(parent) { + , clone: function(parent, withData) { + // write dom data to the dom so the clone can pickup the data + this.writeDataToDom() + // clone element and assign new id var clone = assignNewId(this.node.cloneNode(true)) |