diff options
author | wout <wout@impinc.co.uk> | 2013-02-20 19:10:03 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2013-02-20 19:10:03 +0100 |
commit | ae878fd63077d4c95f2de9053a6f0951b55239eb (patch) | |
tree | 5dba7bd42a8b5702faeb6cc12d2b4d4099841e51 /src/group.js | |
parent | 5020240e4029a61a9620f21d7be4d9764e7723d1 (diff) | |
download | svg.js-ae878fd63077d4c95f2de9053a6f0951b55239eb.tar.gz svg.js-ae878fd63077d4c95f2de9053a6f0951b55239eb.zip |
Created separate classes for SVG.ViewBox anSVG.BBox0.6
Diffstat (limited to 'src/group.js')
-rw-r--r-- | src/group.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/group.js b/src/group.js index 5c6df10..3fc8f88 100644 --- a/src/group.js +++ b/src/group.js @@ -1,14 +1,14 @@ -SVG.G = function G() { - this.constructor.call(this, SVG.create('g')); -}; +SVG.G = function() { + this.constructor.call(this, SVG.create('g')) +} // Inherit from SVG.Container -SVG.G.prototype = new SVG.Container(); +SVG.G.prototype = new SVG.Container SVG.extend(SVG.G, { // Get defs defs: function() { - return this.doc().defs(); + return this.doc().defs() } -});
\ No newline at end of file +})
\ No newline at end of file |