diff options
author | wout <wout@impinc.co.uk> | 2013-02-11 16:54:58 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2013-02-11 16:54:58 +0100 |
commit | 7a2188bd2f9136fb2f8fcfd851c978ec9a65618d (patch) | |
tree | 93aac094c66e0845b54ba3ae19220eb73941c966 /src/fx.js | |
parent | 11fab70a8066e5c7bb0be881b6abb6f90a5c47b0 (diff) | |
download | svg.js-7a2188bd2f9136fb2f8fcfd851c978ec9a65618d.tar.gz svg.js-7a2188bd2f9136fb2f8fcfd851c978ec9a65618d.zip |
Added ability to store data() as raw values
Diffstat (limited to 'src/fx.js')
-rw-r--r-- | src/fx.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -222,11 +222,11 @@ SVG.extend(SVG.FX, { SVG.extend(SVG.Element, { // Get fx module or create a new one, then animate with given duration and ease animate: function(duration, ease) { - return (this._fx || (this._fx = new SVG.FX(this))).stop().animate(duration, ease); + return (this.fx || (this.fx = new SVG.FX(this))).stop().animate(duration, ease); }, // Stop current animation; this is an alias to the fx instance stop: function() { - this._fx.stop(); + this.fx.stop(); return this; } |