diff options
author | wout <wout@impinc.co.uk> | 2013-01-03 21:15:32 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2013-01-03 21:15:32 +0100 |
commit | 6f49a9d4c5ada0b7335c08fbcef623cf32898938 (patch) | |
tree | 560c92b904ae232089874507bde65adaaf2f4d80 /src/element.js | |
parent | 0da8f1d9c9794155c29b8e8f9a0b5ca940061033 (diff) | |
download | svg.js-6f49a9d4c5ada0b7335c08fbcef623cf32898938.tar.gz svg.js-6f49a9d4c5ada0b7335c08fbcef623cf32898938.zip |
Added the SVG.FX module for animations
Diffstat (limited to 'src/element.js')
-rw-r--r-- | src/element.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/element.js b/src/element.js index aaa6010..719c471 100644 --- a/src/element.js +++ b/src/element.js @@ -4,9 +4,13 @@ SVG.Element = function Element(n) { this.node = n; // initialize attribute store - this.attrs = {}; + this.attrs = { + 'fill-opacity': 1, + 'stroke-opacity': 1, + 'stroke-width': 0 + }; - // initialize transformations store + // initialize transformation store this.trans = { x: 0, y: 0, |