summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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._