Commit 71085485 authored by Joel Martin's avatar Joel Martin

Fix canvas.html.

parent 532a9fd9
......@@ -2,7 +2,8 @@
<head><title>Canvas Experiments</title></head>
<body>
Canvas:<br>
<canvas id="tutorial" width="640" height="480">
<canvas id="tutorial" width="640" height="480"
style="border-style: dotted; border-width: 1px;">
Canvas not supported.
</canvas>
......@@ -17,8 +18,10 @@
<script>
window.onload = function() {
Canvas.init_canvas('tutorial', 640, 480);
debug("here1");
Canvas.init('tutorial', 640, 480);
Canvas.draw();
debug("here2");
}
</script>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment