aboutsummaryrefslogtreecommitdiffstats
path: root/src/element.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2013-05-28 20:58:52 +0100
committerwout <wout@impinc.co.uk>2013-05-28 20:58:52 +0100
commitc7df993012b3c0e8cfee75313041c3c64ad9b9e1 (patch)
tree5b4358a6c029d5a1763b939e5b60d300f7a4a124 /src/element.js
parent00532a5e2d547c4761aa888c9bda2e94ee310046 (diff)
downloadsvg.js-c7df993012b3c0e8cfee75313041c3c64ad9b9e1.tar.gz
svg.js-c7df993012b3c0e8cfee75313041c3c64ad9b9e1.zip
Added merge() to SVG.BBox
Diffstat (limited to 'src/element.js')
-rw-r--r--src/element.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/element.js b/src/element.js
index 3149d22..8d07762 100644
--- a/src/element.js
+++ b/src/element.js
@@ -178,6 +178,7 @@ SVG.extend(SVG.Element, {
}
// Manage transformations
, transform: function(o, v) {
+
if (arguments.length == 0) {
/* act as a getter if no argument is given */
return this.trans