summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2016-01-17 19:00:27 +0100
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2016-01-17 19:00:27 +0100
commit63d9413c13facc410aa93a5a993fd0cb1c5ecaf7 (patch)
tree766199691667edcda7132bff36c93c9063de47eb
parentbda9f32dcd38ff1e71b5783bfa26f3012ae3cc7c (diff)
parent4db71e7f9843ddd7e24a0b6c85d4acdf7ae1930b (diff)
downloadsvg.js-63d9413c13facc410aa93a5a993fd0cb1c5ecaf7.tar.gz
svg.js-63d9413c13facc410aa93a5a993fd0cb1c5ecaf7.zip
Merge pull request #442 from akauppi/readme-fix
commentary fix; circle and ellipse sample code referred to 'rect'
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
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`__