Switch to much faster console.log and separate utils into util.js.

This commit is contained in:
Joel Martin
2010-04-13 09:28:53 -05:00
parent 0f62806499
commit b7ec54870a
5 changed files with 233 additions and 125 deletions
+3 -6
View File
@@ -6,22 +6,19 @@
style="border-style: dotted; border-width: 1px;">
Canvas not supported.
</canvas>
<br>
Debug:<br>
<textarea id="debug" style="font-size: 9;" cols=80 rows=25></textarea>
</body>
<script src="include/mootools.js"></script>
<script src="include/mootools-more.js"></script>
<script src="include/util.js"></script>
<script src="canvas.js"></script>
<script>
window.onload = function() {
debug("here1");
console.log("here1");
Canvas.init('tutorial', 640, 480);
Canvas.draw();
debug("here2");
console.log("here2");
}
</script>
</html>