summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-08-01 20:45:53 +0200
committerwout <wout@impinc.co.uk>2014-08-01 20:45:53 +0200
commit8b3274cb0e1632a4dfb44244aeaab12cbc7816bf (patch)
tree1bb75d45cb32cf42314a3f8c7d19134231f3129c /README.md
parentf0dc4d5ee03add261242743aa583c19d918f317c (diff)
downloadsvg.js-8b3274cb0e1632a4dfb44244aeaab12cbc7816bf.tar.gz
svg.js-8b3274cb0e1632a4dfb44244aeaab12cbc7816bf.zip
Updated README
Diffstat (limited to 'README.md')
-rwxr-xr-xREADME.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/README.md b/README.md
index b1830c9..4d962d5 100755
--- a/README.md
+++ b/README.md
@@ -811,9 +811,9 @@ the `SVG.Bare` class can be instantiated with the `element()` method on any pare
```javascript
var element = draw.element('title')
```
-The stirng value passed as the first argument is the node name that should be generated.
+The string value passed as the first argument is the node name that should be generated.
-Additionally the class name can be passed as the second argument from which the element should inherit:
+Additionally any existing class name can be passed as the second argument from which the element should inherit:
```javascript
var element = draw.element('symbol', SVG.Parent)
@@ -859,8 +859,7 @@ The second is to search within a parent element:
var elements = group.select('rect.my-class').fill('#f06')
```
-
-### Using jQuery
+### Using jQuery or Zepto
Another way is to use [jQuery](http://jquery.com/) or [Zepto](http://zeptojs.com/). Here is an example:
```javascript