]> source.dussan.org Git - svg.js.git/commitdiff
commentary fix; circle and ellipse sample code 442/head
authorAsko Kauppi <asko@bmdesign.fi>
Sat, 16 Jan 2016 20:27:59 +0000 (22:27 +0200)
committerAsko Kauppi <asko@bmdesign.fi>
Sat, 16 Jan 2016 20:27:59 +0000 (22:27 +0200)
README.md

index c27af9ceb58309e4d477e04a25ebf8a56cc7d29f..141b74fde9131ec93fc4da3b7baf2a11880fffb3 100644 (file)
--- a/README.md
+++ b/README.md
@@ -228,7 +228,7 @@ _Javascript inheritance stack: `SVG.Circle` < `SVG.Shape` < `SVG.Element`_
 Circles can also be redefined by their radius:
 
 ```javascript
-rect.radius(75)
+circle.radius(75)
 ```
 
 __`returns`: `itself`__
@@ -248,7 +248,7 @@ _Javascript inheritance stack: `SVG.Ellipse` < `SVG.Shape` < `SVG.Element`_
 Ellipses can also be redefined by their radii:
 
 ```javascript
-rect.radius(75, 50)
+ellipse.radius(75, 50)
 ```
 
 __`returns`: `itself`__