Remove unnecessary debugging code.

Modern browser consoles obviate the need for an object logging function.
pull/1/head
David Schnur 13 years ago
parent e491dc7a06
commit a6ce78d156

@ -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) {
if (!processed) {
processed = true;

Loading…
Cancel
Save