aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWout <wout@impinc.co.uk>2014-08-01 08:52:50 +0200
committerWout <wout@impinc.co.uk>2014-08-01 08:52:50 +0200
commit624a7ff7b0a9fa8e696eb83bfed79d49a565f45e (patch)
tree6085596468a502b01608266e6a4e0aac0eae3beb
parentbb0e6be2da0cea98c5303871c0be055f5f70d7a9 (diff)
parentc3e5ff042e966d04de31e762d875c99f72e9f797 (diff)
downloadsvg.js-624a7ff7b0a9fa8e696eb83bfed79d49a565f45e.tar.gz
svg.js-624a7ff7b0a9fa8e696eb83bfed79d49a565f45e.zip
Merge pull request #241 from janaspage/patch-1
Minor grammar & punctuation corrections.
-rwxr-xr-xREADME.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index a6546c7..6abcee3 100755
--- a/README.md
+++ b/README.md
@@ -1054,7 +1054,7 @@ Or a css string:
rect.style('cursor:pointer;fill:#f03;')
```
-Similarly to `attr()` the `style()` method can also act as a getter:
+Similar to `attr()`, the `style()` method can also act as a getter:
```javascript
rect.style('cursor')
@@ -1384,7 +1384,7 @@ group.put(rect) //-> returns rect
__`returns`: `element`__
### addTo()
-Similarly to the `add()` method on a parent element, elements have the `addTo()` method:
+Similar to the `add()` method on a parent element, elements have the `addTo()` method:
```javascript
rect.addTo(group) //-> returns rect
@@ -1393,7 +1393,7 @@ rect.addTo(group) //-> returns rect
__`returns`: `itself`__
### putIn()
-Similarly to the `put()` method on a parent element, elements have the `putIn()` method:
+Similar to the `put()` method on a parent element, elements have the `putIn()` method:
```javascript
rect.putIn(group) //-> returns group
@@ -2320,7 +2320,7 @@ __`returns`: `value`__
## Pattern
### pattern()
-Creating a pattern is very similar to creating gradients
+Creating a pattern is very similar to creating gradients:
```javascript
var pattern = draw.pattern(20, 20, function(add) {