diff options
author | Wout <wout@impinc.co.uk> | 2014-08-01 08:52:50 +0200 |
---|---|---|
committer | Wout <wout@impinc.co.uk> | 2014-08-01 08:52:50 +0200 |
commit | 624a7ff7b0a9fa8e696eb83bfed79d49a565f45e (patch) | |
tree | 6085596468a502b01608266e6a4e0aac0eae3beb | |
parent | bb0e6be2da0cea98c5303871c0be055f5f70d7a9 (diff) | |
parent | c3e5ff042e966d04de31e762d875c99f72e9f797 (diff) | |
download | svg.js-624a7ff7b0a9fa8e696eb83bfed79d49a565f45e.tar.gz svg.js-624a7ff7b0a9fa8e696eb83bfed79d49a565f45e.zip |
Merge pull request #241 from janaspage/patch-1
Minor grammar & punctuation corrections.
-rwxr-xr-x | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) { |