diff options
author | wout <wout@impinc.co.uk> | 2012-12-31 16:16:05 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2012-12-31 16:16:05 +0100 |
commit | 5e7c26e9423f3c543e04bc9a11656125ec7bf8ca (patch) | |
tree | 5e568b9a8083aa23b1bf830b7f4a42a3c8c1a1c0 /src/group.js | |
parent | 8dbe3599dd9b80738c4124f7e71bc12e763c50dc (diff) | |
download | svg.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.js | 10 |
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 |