aboutsummaryrefslogtreecommitdiffstats
path: root/src/group.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2013-03-05 09:32:33 +0000
committerwout <wout@impinc.co.uk>2013-03-05 09:32:33 +0000
commit31e0a8f178185208aaf71702dadc1dbc8a6ff0eb (patch)
treee4f7dea76ae75fe4cc2207d2d96a27672b4e877a /src/group.js
parentca15876e17a1acce4909837af97d97995d0f5b23 (diff)
downloadsvg.js-31e0a8f178185208aaf71702dadc1dbc8a6ff0eb.tar.gz
svg.js-31e0a8f178185208aaf71702dadc1dbc8a6ff0eb.zip
Fix in animate().center()0.8
Diffstat (limited to 'src/group.js')
-rw-r--r--src/group.js14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/group.js b/src/group.js
index 5e0df89..fe09c56 100644
--- a/src/group.js
+++ b/src/group.js
@@ -6,14 +6,6 @@ SVG.G = function() {
SVG.G.prototype = new SVG.Container
SVG.extend(SVG.G, {
- // Get defs
- defs: function() {
- return this.doc().defs()
- }
-
-})
-
-SVG.extend(SVG.G, {
// Move using translate
move: function(x, y) {
return this.transform({
@@ -21,5 +13,9 @@ SVG.extend(SVG.G, {
, y: y
})
}
-
+ // Get defs
+, defs: function() {
+ return this.doc().defs()
+ }
+
}) \ No newline at end of file