aboutsummaryrefslogtreecommitdiffstats
path: root/src/group.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/group.js')
-rw-r--r--src/group.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/group.js b/src/group.js
index df97c3e..cbb635f 100644
--- a/src/group.js
+++ b/src/group.js
@@ -2,11 +2,8 @@ SVG.G = function G() {
this.constructor.call(this, SVG.create('g'));
};
-// Inherit from SVG.Element
-SVG.G.prototype = new SVG.Element();
-
-// Include the container object
-SVG.extend(SVG.G, SVG.Container);
+// Inherit from SVG.Container
+SVG.G.prototype = new SVG.Container();
SVG.extend(SVG.G, {