diff options
Diffstat (limited to 'src/g.js')
-rw-r--r-- | src/g.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/g.js b/src/g.js deleted file mode 100644 index cd6de15..0000000 --- a/src/g.js +++ /dev/null @@ -1,21 +0,0 @@ - -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.Utils.merge(SVG.G, SVG.Container); - -// Add group-specific functions -SVG.Utils.merge(SVG.G, { - - // group rotation - rotate: function(d) { - this.attr('transform', 'rotate(' + d + ')'); - return this; - } - -});
\ No newline at end of file |