diff options
author | wout <wout@impinc.co.uk> | 2013-02-02 11:14:21 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2013-02-02 11:14:21 +0100 |
commit | 7323d05f9d09141ec81dcd78d09bdba714c1c5dd (patch) | |
tree | 191d1a1e74f8f6b2ab5b7e473897e5daf8759dde /src/nested.js | |
parent | 4a7588695a1b385f41acd6cbbfaf76b38b2a1439 (diff) | |
download | svg.js-7323d05f9d09141ec81dcd78d09bdba714c1c5dd.tar.gz svg.js-7323d05f9d09141ec81dcd78d09bdba714c1c5dd.zip |
Reworked SVG.Container inheritance
Diffstat (limited to 'src/nested.js')
-rw-r--r-- | src/nested.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/nested.js b/src/nested.js index 9cf54a9..d2aafdb 100644 --- a/src/nested.js +++ b/src/nested.js @@ -3,8 +3,5 @@ SVG.Nested = function Nested() { this.attr('overflow', 'visible'); }; -// Inherit from SVG.Element -SVG.Nested.prototype = new SVG.Element(); - -// Include the container object -SVG.extend(SVG.Nested, SVG.Container);
\ No newline at end of file +// Inherit from SVG.Container +SVG.Nested.prototype = new SVG.Container();
\ No newline at end of file |