X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/air/src/Debug.js?ds=inline diff --git a/air/src/Debug.js b/air/src/Debug.js deleted file mode 100644 index ce77e126..00000000 --- a/air/src/Debug.js +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Ext JS Library 0.30 - * Copyright(c) 2006-2009, Ext JS, LLC. - * licensing@extjs.com - * - * http://extjs.com/license - */ - -/* - * Useful debugging function similar to console.dir for air. - * This was ported from AS3 and the original code came from Adobe's help system. - */ -Ext.air.dir = function (obj, indent) { - indent = indent || 0; - var indentString = ""; - - for (var i = 0; i < indent; i++) { - indentString += "\t"; - } - - var val; - for (var prop in obj) { - val = obj[prop]; - if (typeof(val) == "object") { - air.trace(indentString + " " + prop + ": [Object]"); - Ext.air.dir(val, indent + 1); - } else { - air.trace(indentString + " " + prop + ": " + val); - } - } -}; \ No newline at end of file