Skip to content

Commit

Permalink
simplifying js
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill Mill committed Jul 29, 2008
1 parent 4f7adfe commit 6004534
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ball.html
Expand Up @@ -2,8 +2,7 @@
<head>
<script type="application/x-javascript">
function draw() {
var canvas = document.getElementById("canvas");
var ctx = canvas.getContext("2d");
var ctx = document.getElementById("canvas").getContext("2d");

ctx.arc(75,75,10,0,Math.PI*2,true);
ctx.fill();
Expand Down

0 comments on commit 6004534

Please sign in to comment.