From 71c984a986e1c0980ce0a6eb5626dda989cfa428 Mon Sep 17 00:00:00 2001 From: Ulrich-Matthias Schäfer Date: Mon, 15 Jun 2015 16:37:42 +0200 Subject: 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')` --- src/use.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/use.js') 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) } -- cgit v1.2.3