summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-07-30 11:08:39 +0200
committerwout <wout@impinc.co.uk>2014-07-30 11:08:39 +0200
commit4b54c4aa795e95fda3fd83edf8ed8dec76970ac1 (patch)
tree5ad385b89de7a4fde9d853d7b95b12e8d3798300 /README.md
parent725828a6fc3ad423b4bd61710fe541d9b5feb3a1 (diff)
downloadsvg.js-4b54c4aa795e95fda3fd83edf8ed8dec76970ac1.tar.gz
svg.js-4b54c4aa795e95fda3fd83edf8ed8dec76970ac1.zip
Updated README
Diffstat (limited to 'README.md')
-rwxr-xr-xREADME.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index d4f181a..7d72d79 100755
--- a/README.md
+++ b/README.md
@@ -1790,10 +1790,10 @@ __`returns`: `SVG.FX`__
Say you want to control the position of an animation with an external event, then the `at()` method will proove very useful:
```javascript
-var animate = draw.rect(100, 100).move(50, 50).animate('=').move(200, 200)
+var animation = draw.rect(100, 100).move(50, 50).animate('=').move(200, 200)
document.onmousemove = function(event) {
- animate.at(event.clientX / 1000)
+ animation.at(event.clientX / 1000)
}
```