[open-ils-commits] r16348 - trunk/Open-ILS/xul/staff_client/chrome/content/util (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Apr 29 14:45:42 EDT 2010
Author: phasefx
Date: 2010-04-29 14:45:37 -0400 (Thu, 29 Apr 2010)
New Revision: 16348
Modified:
trunk/Open-ILS/xul/staff_client/chrome/content/util/error.js
Log:
debugging aid
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/util/error.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/util/error.js 2010-04-29 18:45:37 UTC (rev 16347)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/util/error.js 2010-04-29 18:45:37 UTC (rev 16348)
@@ -51,6 +51,14 @@
+ e + '\n-----------------------------------------\n' );
},
+ 'obj_dump' : function(s,dobj) {
+ var o = 'typeof ' + dobj + ' = ' + typeof dobj + '\n';
+ for (var i in dobj) {
+ o += i + '\t' + typeof dobj[i] + '\n';
+ }
+ this.sdump(s,o);
+ },
+
'sdump_levels' : {
'D_NONE' : false,
More information about the open-ils-commits
mailing list