From 07f6ca751d6c4966735bc63ab756292eb6e122fc Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Sun, 18 Apr 2010 16:28:54 -0500 Subject: [PATCH] Remove mootools-more references. --- canvas.html | 1 - include/util.js | 4 ++-- prime.html | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/canvas.html b/canvas.html index 720e2c3f..a63834a8 100644 --- a/canvas.html +++ b/canvas.html @@ -9,7 +9,6 @@ - diff --git a/include/util.js b/include/util.js index cae2d812..ba6ccb5d 100644 --- a/include/util.js +++ b/include/util.js @@ -4,7 +4,7 @@ if ((!window.console) || (! /__debug__$/i.test(document.location.href))) { window.console.log = function(message) {}; } -function dirObj(obj, parent, depth) { +function dirObj(obj, depth, parent) { var msg = ""; var val = ""; if (! depth) { depth=2; } @@ -14,7 +14,7 @@ function dirObj(obj, parent, depth) { for (var i in obj) { if ((depth > 1) && (typeof obj[i] == "object")) { // Recurse attributes that are objects - msg += dirObj(obj[i], parent + "." + i, depth-1); + msg += dirObj(obj[i], depth-1, parent + "." + i); } else { val = new String(obj[i]).replace("\n", " "); if (val.length > 30) { diff --git a/prime.html b/prime.html index 0eed4a81..54c8f786 100644 --- a/prime.html +++ b/prime.html @@ -12,7 +12,6 @@ Log:
-