summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndres Kalle <mjomble@gmail.com>2014-12-26 01:03:52 +0200
committerAndres Kalle <mjomble@gmail.com>2014-12-26 01:03:52 +0200
commitd1c7202aad3ad422a6c0d7f0cac00ce4a1cd9bf5 (patch)
tree3d17b9f2398dd49ce97259e11b4bdeb66d70f549
parent7984a87786effaed2ed6e517c899cc68204e4e6b (diff)
downloadsvg.js-d1c7202aad3ad422a6c0d7f0cac00ce4a1cd9bf5.tar.gz
svg.js-d1c7202aad3ad422a6c0d7f0cac00ce4a1cd9bf5.zip
Gave example variables less confusing names
-rwxr-xr-xREADME.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 8066600..7a8be57 100755
--- a/README.md
+++ b/README.md
@@ -221,7 +221,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`__
@@ -243,7 +243,7 @@ _Note that this generates an `<ellipse>` element instead of a `<circle>`. This c
Circles can also be redefined by their radius:
```javascript
-rect.radius(75)
+circle.radius(75)
```
__`returns`: `itself`__