Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Typo in sample code

  • Loading branch information...
commit 0283e3f4c5df17377c6c7b601ceb54a296d3ef3a 1 parent a066e98
Lee Goddard authored

Showing 1 changed file with 5 additions and 2 deletions. Show diff stats Hide diff stats

  1. +5 2 Demo/index.html
7 Demo/index.html
@@ -247,11 +247,14 @@
247 247 element: document.id('soundtest-gradient'),
248 248 uri: 'pluck.wav',
249 249 onCanvasLoaded: function(){
250   - var gradient=this.cctx.createLinearGradient(0,0, this.canvas.width, 0);
  250 + var gradient=this.cctx.createLinearGradient(
  251 + 0,0,
  252 + this.canvas.width, 0
  253 + );
251 254 gradient.addColorStop("0","blue");
252 255 gradient.addColorStop("0.5","magenta");
253 256 gradient.addColorStop("1.0","red");
254   - this.options.strokeStyle = gradient;
  257 + this.options.strokestyle = gradient;
255 258 }
256 259 } );</code>
257 260 </pre>

0 comments on commit 0283e3f

Please sign in to comment.
Something went wrong with that request. Please try again.