aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2013-03-06 11:46:08 +0000
committerwout <wout@impinc.co.uk>2013-03-06 11:46:08 +0000
commit6a8a3fee7dbfc9a9f4a36dc5877f955f5743a4ac (patch)
treeedf1474215b6ec92ce7feba546782d38c6c3fc56 /README.md
parent9e9d06b8c4638fe734b9c5be001417aed7845bb4 (diff)
downloadsvg.js-6a8a3fee7dbfc9a9f4a36dc5877f955f5743a4ac.tar.gz
svg.js-6a8a3fee7dbfc9a9f4a36dc5877f955f5743a4ac.zip
Updated README
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 0d57c54..861ec80 100644
--- a/README.md
+++ b/README.md
@@ -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'))
})
```