diff options
author | wout <wout@impinc.co.uk> | 2013-03-06 11:46:08 +0000 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2013-03-06 11:46:08 +0000 |
commit | 6a8a3fee7dbfc9a9f4a36dc5877f955f5743a4ac (patch) | |
tree | edf1474215b6ec92ce7feba546782d38c6c3fc56 /README.md | |
parent | 9e9d06b8c4638fe734b9c5be001417aed7845bb4 (diff) | |
download | svg.js-6a8a3fee7dbfc9a9f4a36dc5877f955f5743a4ac.tar.gz svg.js-6a8a3fee7dbfc9a9f4a36dc5877f955f5743a4ac.zip |
Updated README
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -430,13 +430,13 @@ var ellipse = draw.ellipse(100, 100).attr('cx', '20%').fill('#333') rect.animate(3000).move(100, 100).during(function(pos, morph) { /* numeric values */ - circle.size(morph(100, 200), morph(100, 50)) + ellipse.size(morph(100, 200), morph(100, 50)) /* unit strings */ - circle.attr('cx', morph('20%', '80%')) + ellipse.attr('cx', morph('20%', '80%')) /* hex color strings */ - circle.fill(morph('#333', '#ff0066')) + ellipse.fill(morph('#333', '#ff0066')) }) ``` |