From: wout Date: Sat, 22 Dec 2012 11:55:59 +0000 (+0100) Subject: Typo in gradient readme X-Git-Tag: 0.2~85 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d760f9d679556d5317904bb852cc47c4777dfaa0;p=svg.js.git Typo in gradient readme --- 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._