From: Asko Kauppi Date: Sat, 16 Jan 2016 20:27:59 +0000 (+0200) Subject: commentary fix; circle and ellipse sample code X-Git-Tag: 2.3.0~19^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F442%2Fhead;p=svg.js.git commentary fix; circle and ellipse sample code --- diff --git a/README.md b/README.md index c27af9c..141b74f 100644 --- 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`__