diff --git a/jquery.flot.pie.js b/jquery.flot.pie.js index 4aa7a42..f9f2e2b 100644 --- a/jquery.flot.pie.js +++ b/jquery.flot.pie.js @@ -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;