summaryrefslogtreecommitdiffstats
path: root/src/fx.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-02-03 21:59:15 +0100
committerwout <wout@impinc.co.uk>2014-02-03 21:59:15 +0100
commit189f009dbb28525f3eb2c0bb7a72312cb6fe4ba6 (patch)
tree39728b3425c7906b772a84d46778d33e34770ddf /src/fx.js
parent8dcb37d3406a85ef639e31b256823cf24fd7b7c6 (diff)
downloadsvg.js-189f009dbb28525f3eb2c0bb7a72312cb6fe4ba6.tar.gz
svg.js-189f009dbb28525f3eb2c0bb7a72312cb6fe4ba6.zip
Added second values to SVG.Number
Diffstat (limited to 'src/fx.js')
-rwxr-xr-xsrc/fx.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fx.js b/src/fx.js
index 40f253b..e802455 100755
--- a/src/fx.js
+++ b/src/fx.js
@@ -18,7 +18,7 @@ SVG.extend(SVG.FX, {
}
/* ensure default duration and easing */
- d = d == null ? 1000 : d
+ d = d == null ? 1000 : new SVG.Number(d).valueOf()
ease = ease || '<>'
/* process values */