Commit 07f6ca75 authored by Joel Martin's avatar Joel Martin

Remove mootools-more references.

parent 9fec75c0
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
</body> </body>
<script src="include/mootools.js"></script> <script src="include/mootools.js"></script>
<script src="include/mootools-more.js"></script>
<script src="include/util.js"></script> <script src="include/util.js"></script>
<script src="canvas.js"></script> <script src="canvas.js"></script>
......
...@@ -4,7 +4,7 @@ if ((!window.console) || (! /__debug__$/i.test(document.location.href))) { ...@@ -4,7 +4,7 @@ if ((!window.console) || (! /__debug__$/i.test(document.location.href))) {
window.console.log = function(message) {}; window.console.log = function(message) {};
} }
function dirObj(obj, parent, depth) { function dirObj(obj, depth, parent) {
var msg = ""; var msg = "";
var val = ""; var val = "";
if (! depth) { depth=2; } if (! depth) { depth=2; }
...@@ -14,7 +14,7 @@ function dirObj(obj, parent, depth) { ...@@ -14,7 +14,7 @@ function dirObj(obj, parent, depth) {
for (var i in obj) { for (var i in obj) {
if ((depth > 1) && (typeof obj[i] == "object")) { if ((depth > 1) && (typeof obj[i] == "object")) {
// Recurse attributes that are objects // Recurse attributes that are objects
msg += dirObj(obj[i], parent + "." + i, depth-1); msg += dirObj(obj[i], depth-1, parent + "." + i);
} else { } else {
val = new String(obj[i]).replace("\n", " "); val = new String(obj[i]).replace("\n", " ");
if (val.length > 30) { if (val.length > 30) {
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
Log:<br> Log:<br>
<textarea id='debug' style="font-size: 9;" cols=80 rows=25></textarea> <textarea id='debug' style="font-size: 9;" cols=80 rows=25></textarea>
<script src="include/mootools.js"></script> <script src="include/mootools.js"></script>
<script src="include/mootools-more.js"></script>
<script> <script>
function debug(str) { function debug(str) {
cell = $('debug'); cell = $('debug');
......
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