diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2015-06-15 16:37:42 +0200 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2015-06-15 16:37:42 +0200 |
commit | 71c984a986e1c0980ce0a6eb5626dda989cfa428 (patch) | |
tree | 63b4ed56a29b405ffaa91c4b2d95894272de535e /dist/svg.js | |
parent | 5d80e4393109e181b0ba997e338530c0e2af1dd7 (diff) | |
download | svg.js-71c984a986e1c0980ce0a6eb5626dda989cfa428.tar.gz svg.js-71c984a986e1c0980ce0a6eb5626dda989cfa428.zip |
Removed target-reference from use which caused bugs in `dmove()` and `use()` with external file
The used element can be retrieved using `element.reference('href')`
Diffstat (limited to 'dist/svg.js')
-rwxr-xr-x | dist/svg.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/dist/svg.js b/dist/svg.js index d2f3e2c..37d3b01 100755 --- a/dist/svg.js +++ b/dist/svg.js @@ -6,7 +6,7 @@ * @copyright Wout Fierens <wout@impinc.co.uk> * @license MIT * -* BUILT: Mon Jun 15 2015 16:08:41 GMT+0200 (Mitteleuropäische Sommerzeit) +* BUILT: Mon Jun 15 2015 16:36:12 GMT+0200 (Mitteleuropäische Sommerzeit) */; (function(root, factory) { @@ -2943,9 +2943,6 @@ SVG.Use = SVG.invent({ , extend: { // Use element as a reference element: function(element, file) { - /* Store target element */ - this.target = element - /* Set lined element */ return this.attr('href', (file || '') + '#' + element, SVG.xlink) } |