aboutsummaryrefslogtreecommitdiffstats
path: root/src/group.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2012-12-31 16:16:05 +0100
committerwout <wout@impinc.co.uk>2012-12-31 16:16:05 +0100
commit5e7c26e9423f3c543e04bc9a11656125ec7bf8ca (patch)
tree5e568b9a8083aa23b1bf830b7f4a42a3c8c1a1c0 /src/group.js
parent8dbe3599dd9b80738c4124f7e71bc12e763c50dc (diff)
downloadsvg.js-5e7c26e9423f3c543e04bc9a11656125ec7bf8ca.tar.gz
svg.js-5e7c26e9423f3c543e04bc9a11656125ec7bf8ca.zip
Added each(), next(), previous() and more
Diffstat (limited to 'src/group.js')
-rw-r--r--src/group.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/group.js b/src/group.js
index e3cb6a8..1007a32 100644
--- a/src/group.js
+++ b/src/group.js
@@ -7,4 +7,12 @@ SVG.G = function G() {
SVG.G.prototype = new SVG.Element();
// include the container object
-SVG.extend(SVG.G, SVG.Container); \ No newline at end of file
+SVG.extend(SVG.G, SVG.Container);
+
+SVG.extend(SVG.G, {
+
+ defs: function() {
+ return this.parentDoc().defs();
+ }
+
+}); \ No newline at end of file