From faff61d52663867ffb07c63372ec10ae248108bf Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 31 Mar 2005 21:30:32 +0000 Subject: [PATCH] removed some debugging stuff git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@263 9efc2488-bf62-4759-914b-345cdb29e865 --- src/javascript/JSON.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/javascript/JSON.js b/src/javascript/JSON.js index 9cdb9fb..8a6a92c 100644 --- a/src/javascript/JSON.js +++ b/src/javascript/JSON.js @@ -4,9 +4,7 @@ var undefined; function Cast (obj, class_constructor) { try { if (eval(class_constructor + '["_isfieldmapper"]')) { - debug("Casting object to class " + class_constructor + "\n"); obj = eval("new " + class_constructor + "(obj)"); - debug("My Classname: " + obj.classname); } } catch( E ) { alert( E + "\n"); @@ -20,8 +18,6 @@ function JSON2js (json) { json = String(json).replace( /\/\*--\s*S\w*?\s*?\s+\w+\s*--\*\//g, 'Cast('); json = String(json).replace( /\/\*--\s*E\w*?\s*?\s+(\w+)\s*--\*\//g, ', "$1")'); - debug("=======================\n" + json); - var obj; if (json != '') { try { @@ -38,8 +34,6 @@ function JSON2js (json) { function js2JSON(arg) { var i, o, u, v; - debug( "Running js2JSON on " + arg ); - switch (typeof arg) { case 'object': -- 2.11.0