aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2012-12-22 12:55:59 +0100
committerwout <wout@impinc.co.uk>2012-12-22 12:55:59 +0100
commitd760f9d679556d5317904bb852cc47c4777dfaa0 (patch)
treee7d0f795ff82096dfc121f1f7966dd51ef39f082 /README.md
parent41c12fb60b9ba2afbdaca5a445a7af59d2bccd5a (diff)
downloadsvg.js-d760f9d679556d5317904bb852cc47c4777dfaa0.tar.gz
svg.js-d760f9d679556d5317904bb852cc47c4777dfaa0.zip
Typo in gradient readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index f08e0a1..933f24f 100644
--- a/README.md
+++ b/README.md
@@ -294,7 +294,7 @@ draw.gradient('radial', function(stop) {
s3 = stop.at({ offset: 100, color: '#066', opacity: 1 });
});
-stop1.update({ offset: 10, color: '#0f0', opacity: 1 });
+s1.update({ offset: 10, color: '#0f0', opacity: 1 });
```
_This functionality requires the gradient.js module which is included in the default distribution._