From 4b54c4aa795e95fda3fd83edf8ed8dec76970ac1 Mon Sep 17 00:00:00 2001 From: wout Date: Wed, 30 Jul 2014 11:08:39 +0200 Subject: [PATCH] Updated README --- README.md | 4 ++-- 1 file 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) } ``` -- 2.39.5