Commit f9583f1f authored by Joel Martin's avatar Joel Martin

Move canvas.js to include/canvas.js.

parent 67b24a90
<html>
<head><title>Canvas Experiments</title></head>
<body>
Canvas:<br>
<canvas id="tutorial" width="640" height="480"
style="border-style: dotted; border-width: 1px;">
Canvas not supported.
</canvas>
</body>
<!--
<script type='text/javascript'
src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script>
-->
<script src="include/mootools.js"></script>
<script src="include/util.js"></script>
<script src="canvas.js"></script>
<script>
window.onload = function() {
console.log("here1");
Canvas.init('tutorial', 640, 480);
Canvas.draw();
console.log("here2");
}
</script>
</html>
...@@ -30,7 +30,7 @@ var VNC_native_ws, RFB; ...@@ -30,7 +30,7 @@ var VNC_native_ws, RFB;
extra += start + "include/base64.js" + end; extra += start + "include/base64.js" + end;
extra += start + "include/des.js" + end; extra += start + "include/des.js" + end;
extra += start + "include/util.js" + end; extra += start + "include/util.js" + end;
extra += start + "canvas.js" + end; extra += start + "include/canvas.js" + end;
/* If no builtin websockets then load web_socket.js */ /* If no builtin websockets then load web_socket.js */
if (window.WebSocket) { if (window.WebSocket) {
......
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