aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanas Page <janaspage@users.noreply.github.com>2014-07-31 15:22:01 -0700
committerJanas Page <janaspage@users.noreply.github.com>2014-07-31 15:22:01 -0700
commitc3e5ff042e966d04de31e762d875c99f72e9f797 (patch)
tree6085596468a502b01608266e6a4e0aac0eae3beb
parentbb0e6be2da0cea98c5303871c0be055f5f70d7a9 (diff)
downloadsvg.js-c3e5ff042e966d04de31e762d875c99f72e9f797.tar.gz
svg.js-c3e5ff042e966d04de31e762d875c99f72e9f797.zip
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) {