summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2013-01-03 22:41:19 +0100
committerwout <wout@impinc.co.uk>2013-01-03 22:41:19 +0100
commit2a670c189c474982e05ae00590a94887a141f933 (patch)
treee704ba72dcf76c56d7e2a3b0dd092a72d8815e68 /README.md
parentdecf950559c161aa10893d4113321a31ca7d76f8 (diff)
downloadsvg.js-2a670c189c474982e05ae00590a94887a141f933.tar.gz
svg.js-2a670c189c474982e05ae00590a94887a141f933.zip
Updated README
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index c4ad657..a85d3df 100644
--- a/README.md
+++ b/README.md
@@ -279,7 +279,7 @@ rect.animate().move(150, 150);
The `animate()` method will take two arguments. The first is `milliseconds`, the second `ease`:
```javascript
-rect.animate(2000, '>').fill({ color: '#f03' });
+rect.animate(2000, '>').attr({ fill: '#f03' });
```
By default `milliseconds` will be set to `1000`, `ease` will be set to `<>`. All available ease types are: