aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanas Page <janaspage@users.noreply.github.com>2014-08-05 17:02:06 -0700
committerJanas Page <janaspage@users.noreply.github.com>2014-08-05 17:02:06 -0700
commit44c85da90fda409349643d35624b505e93525c6d (patch)
tree2f0ca711f9db1e32bb514b84fa642555b1b640be
parent624a7ff7b0a9fa8e696eb83bfed79d49a565f45e (diff)
downloadsvg.js-44c85da90fda409349643d35624b505e93525c6d.tar.gz
svg.js-44c85da90fda409349643d35624b505e93525c6d.zip
Correct spelling/typo of "returns".
-rwxr-xr-xREADME.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 6abcee3..4d0f9ea 100755
--- a/README.md
+++ b/README.md
@@ -77,7 +77,7 @@ var draw = SVG('drawing').fixSubPixelOffset()
## Parent elements
### Main svg document
-The main svg.js initializer function creates a root svg node in the given element and retuns an instance of `SVG.Doc`:
+The main svg.js initializer function creates a root svg node in the given element and returns an instance of `SVG.Doc`:
```javascript
var draw = SVG('drawing')
@@ -893,7 +893,7 @@ group.has(rect) //-> returns false
__`returns`: `boolean`__
### index()
-Returns the index of given element and retuns -1 when it is not a child:
+Returns the index of given element and returns -1 when it is not a child:
```javascript
var rect = draw.rect(100, 50)