diff options
author | wout <wout@impinc.co.uk> | 2012-12-17 12:40:43 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2012-12-17 12:40:43 +0100 |
commit | 10fd4e46ed729b6471074d925d3a3e611b13688e (patch) | |
tree | 4b3b5d1d86bf6f2cd7c16e1341371e55237329d4 /src/element.js | |
parent | 137bc169b4e1bcdcbb37e9beec3e2d9b7d9da85f (diff) | |
download | svg.js-10fd4e46ed729b6471074d925d3a3e611b13688e.tar.gz svg.js-10fd4e46ed729b6471074d925d3a3e611b13688e.zip |
Removing legacy references
Diffstat (limited to 'src/element.js')
-rw-r--r-- | src/element.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/element.js b/src/element.js index d6f4685..3dcf785 100644 --- a/src/element.js +++ b/src/element.js @@ -53,7 +53,7 @@ SVG.Element.prototype.parentDoc = function() { // get parent svg wrapper SVG.Element.prototype.parentSVG = function() { - return this._findParent(SVG.Nested) || this.parentDoc(); + return this.parentDoc(); }; // set svg element attribute @@ -94,10 +94,6 @@ SVG.Element.prototype._findParent = function(pt) { return e; }; -// include the dispatcher object -SVG.Element.include(SVG.Dispatcher); - - |