]> source.dussan.org Git - svg.js.git/commitdiff
Updated README
authorwout <wout@impinc.co.uk>
Wed, 6 Mar 2013 11:41:19 +0000 (11:41 +0000)
committerwout <wout@impinc.co.uk>
Wed, 6 Mar 2013 11:41:19 +0000 (11:41 +0000)
README.md

index d9d3237fceb1298ccc984909f54f75abffb08920..ab1ee8a9bf4a511d6a9bd2dc2ac6ca6fab8602db 100644 (file)
--- a/README.md
+++ b/README.md
@@ -410,14 +410,14 @@ rect.animate().center(200, 200)
 ```
 
 ### Animating along keyframes
-If you want to perform your own actions along and during the animations you can use the `along()` method:
+If you want to perform your own actions during the animations you can use the `during()` method:
 
 ```javascript
 var position
   , from = 100
   , to   = 300
 
-rect.animate(3000).move(100, 100).along(function(pos) {
+rect.animate(3000).move(100, 100).during(function(pos) {
   position = from + (to - from) * pos 
 })
 ```