Commit a6ce78d1 authored by David Schnur's avatar David Schnur

Remove unnecessary debugging code.

Modern browser consoles obviate the need for an object logging function.
parent e491dc7a
...@@ -149,35 +149,6 @@ More detail and specific examples can be found in the included HTML file. ...@@ -149,35 +149,6 @@ More detail and specific examples can be found in the included HTML file.
} }
}); });
// debugging function that prints out an object
function alertObject(obj) {
var msg = "";
function traverse(obj, depth) {
if (!depth) {
depth = 0;
}
for (var i = 0; i < obj.length; ++i) {
for (var j = 0; j < depth; j++) {
msg += "\t";
}
if( typeof obj[i] == "object") {
msg += "" + i + ":\n";
traverse(obj[i], depth + 1);
} else {
msg += "" + i + ": " + obj[i] + "\n";
}
}
}
traverse(obj);
alert(msg);
}
function processDatapoints(plot, series, datapoints) { function processDatapoints(plot, series, datapoints) {
if (!processed) { if (!processed) {
processed = true; processed = true;
......
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