diff options
author | Wout <wout@impinc.co.uk> | 2014-09-05 16:52:56 +0200 |
---|---|---|
committer | Wout <wout@impinc.co.uk> | 2014-09-05 16:52:56 +0200 |
commit | 8f7ae2170e45453e2b47dbf345862989ba42e6f6 (patch) | |
tree | 485b4a01472a76b6a2287b0206b17bfd4aecfea7 | |
parent | 6f0eea6b17e20886372e6a82212563a8047e8ff5 (diff) | |
parent | fae4cb9d98d2aef1dd929766e6de3fbcff22267c (diff) | |
download | svg.js-8f7ae2170e45453e2b47dbf345862989ba42e6f6.tar.gz svg.js-8f7ae2170e45453e2b47dbf345862989ba42e6f6.zip |
Merge pull request #243 from janaspage/patch-3
Minor grammar corrections.
-rwxr-xr-x | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3003,7 +3003,7 @@ __`returns`: `object`__ ## Extending functionality ### SVG.invent() -Creating your own custom elements with svg.js is piece of cake thanks to the `SVG.invent` function. For the sake of this example, lets "invent" a shape. We want a `rect` with rounded corners that are always proportional to the height of the element. The new shape lives in the `SVG` namespace and is called `Rounded`. Here is how we achieve that. +Creating your own custom elements with svg.js is a piece of cake thanks to the `SVG.invent` function. For the sake of this example, let's "invent" a shape. We want a `rect` with rounded corners that are always proportional to the height of the element. The new shape lives in the `SVG` namespace and is called `Rounded`. Here is how we achieve that. ```javascript SVG.Rounded = SVG.invent({ |