aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWout <wout@impinc.co.uk>2014-09-05 16:53:09 +0200
committerWout <wout@impinc.co.uk>2014-09-05 16:53:09 +0200
commita0f3ae47fb9c249521aa5a3b5a327cb2faecea38 (patch)
tree1e65cfa6b701d91b5325caedf14d17f2d84b4347
parent8f7ae2170e45453e2b47dbf345862989ba42e6f6 (diff)
parent44c85da90fda409349643d35624b505e93525c6d (diff)
downloadsvg.js-a0f3ae47fb9c249521aa5a3b5a327cb2faecea38.tar.gz
svg.js-a0f3ae47fb9c249521aa5a3b5a327cb2faecea38.zip
Merge pull request #244 from janaspage/patch-4
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 efcb725..cb20a54 100755
--- a/README.md
+++ b/README.md
@@ -75,7 +75,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')
@@ -891,7 +891,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)