Move canvas.js to include/canvas.js.

This commit is contained in:
Joel Martin 2010-05-15 15:45:09 -05:00
parent 67b24a9020
commit f9583f1f98
3 changed files with 1 additions and 29 deletions

View File

@ -1,28 +0,0 @@
<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>

2
vnc.js
View File

@ -30,7 +30,7 @@ var VNC_native_ws, RFB;
extra += start + "include/base64.js" + end;
extra += start + "include/des.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 (window.WebSocket) {