summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorFuzzy <ulima.ums@googlemail.com>2015-02-22 00:49:41 +0100
committerFuzzy <ulima.ums@googlemail.com>2015-02-22 00:49:41 +0100
commit26cad6db62fb700fe42cf98930ff2778e2362f88 (patch)
tree9618943174e65407448d8e7c4ad9f3c29db39c71 /README.md
parent52e1688135f8747fc57f50d4607b9d41f9aaf89a (diff)
parentd1c7202aad3ad422a6c0d7f0cac00ce4a1cd9bf5 (diff)
downloadsvg.js-26cad6db62fb700fe42cf98930ff2778e2362f88.tar.gz
svg.js-26cad6db62fb700fe42cf98930ff2778e2362f88.zip
Merge pull request #299 from mjomble/patch-1
Gave example variables less confusing names
Diffstat (limited to 'README.md')
-rwxr-xr-xREADME.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index a9ea409..2f9d344 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`__