aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2015-06-15 16:37:42 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2015-06-15 16:37:42 +0200
commit71c984a986e1c0980ce0a6eb5626dda989cfa428 (patch)
tree63b4ed56a29b405ffaa91c4b2d95894272de535e /src
parent5d80e4393109e181b0ba997e338530c0e2af1dd7 (diff)
downloadsvg.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 'src')
-rwxr-xr-xsrc/use.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/use.js b/src/use.js
index 1fe7cb3..a6cc8ea 100755
--- a/src/use.js
+++ b/src/use.js
@@ -9,9 +9,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)
}