GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/JimMartinson/CST2146/VM_Data/Data_WWW/scheduler/js/ |
Upload File : |
// debug.js // Display object contents. // If i is undefined only the first level indexes are displayed as console.info(). // If i is '' then no index is used for display of the object. // If i is an index then the index is used for display of the object. function clog(name,obj,i) { var c; var j; var cn = name+': {'; var prefix = ' '; if ( i != undefined ) { if ( i != '' ) { for ( j in obj[i] ) { if (!obj[i].hasOwnProperty(j)){continue;} if ( typeof obj[i][j] != 'number' ) { c = "'"; } else { c = ''; } cn += prefix+j+':'+c+obj[i][j]+c; prefix = ', '; } } else { for ( j in obj ) { if (!obj.hasOwnProperty(j)){continue;} if ( typeof obj[j] != 'number' ) { c = "'"; } else { c = ''; } cn += prefix+j+':'+c+obj[j]+c; prefix = ', '; } } cn += ' }'; console.log(cn); } else { for ( j in obj ) { if (!obj.hasOwnProperty(j)){continue;} if ( typeof obj[j] != 'number' ) { c = "'"; } else { c = ''; } cn += prefix+c+j+c; prefix = ', '; } cn += ' }'; console.info(cn); } } /** / function getAllProperties(obj) { var properties = ''; for (property in obj) { properties += '\n' + property; } alert('Properties of object:' + properties); } /**/