summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
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'))
})
```