aboutsummaryrefslogtreecommitdiffstats
path: root/src/element.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/element.js
parentca15876e17a1acce4909837af97d97995d0f5b23 (diff)
downloadsvg.js-31e0a8f178185208aaf71702dadc1dbc8a6ff0eb.tar.gz
svg.js-31e0a8f178185208aaf71702dadc1dbc8a6ff0eb.zip
Fix in animate().center()0.8
Diffstat (limited to 'src/element.js')
-rw-r--r--src/element.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/element.js b/src/element.js
index cf9f8b9..05008a8 100644
--- a/src/element.js
+++ b/src/element.js
@@ -22,6 +22,9 @@ SVG.Element = function(node) {
, ry: 0
}
+ /* initialize style store */
+ this.style = {}
+
/* initialize transformation store with defaults */
this.trans = {
x: 0