Permalink
Browse files

Merge pull request #5 from brighthas/patch-1

Update example.js
  • Loading branch information...
2 parents a0a362c + 00e4c68 commit a1a72786d31108343bfb0ce29e07280328595488 @corehtml5canvas committed Sep 28, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 ch02/example-2.31/example.js
@@ -367,7 +367,7 @@ function drawPolygon(polygon, angle) {
context.stroke();
if (fillCheckbox.checked) {
- context.fill(context);
+ context.fill();
}
context.restore();

0 comments on commit a1a7278

Please sign in to comment.