diff options
author | wout <wout@impinc.co.uk> | 2012-12-17 19:39:52 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2012-12-17 19:39:52 +0100 |
commit | 8dfec33b4fa79b89d89a07e3ae92c5d5c5f8ce73 (patch) | |
tree | 7caa493057b543ac40008770fdb4df566995c4e7 /src/group.js | |
parent | 6a013f19d6fa84e538d31bca5f1466c5f3479630 (diff) | |
download | svg.js-8dfec33b4fa79b89d89a07e3ae92c5d5c5f8ce73.tar.gz svg.js-8dfec33b4fa79b89d89a07e3ae92c5d5c5f8ce73.zip |
Code slimming
Diffstat (limited to 'src/group.js')
-rw-r--r-- | src/group.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/group.js b/src/group.js deleted file mode 100644 index 2236c09..0000000 --- a/src/group.js +++ /dev/null @@ -1,21 +0,0 @@ - -SVG.Group = function Group() { - this.constructor.call(this, SVG.create('g')); -}; - -// inherit from SVG.Element -SVG.Group.prototype = new SVG.Element(); - -// include the container object -SVG.Utils.merge(SVG.Group, SVG.Container); - -// Add group-specific functions -SVG.Utils.merge(SVG.Group, { - - // group rotation - rotate: function(d) { - this.attr('transform', 'rotate(' + d + ')'); - return this; - } - -});
\ No newline at end of file |