--- /dev/null
+#!/bin/bash
+grep -r console.log web/* | grep -v ': *//' | grep -v '// OK$' | grep -v '/* console.log'
xhr_wr.setRequestHeader("If-Modified-Since", new Date().toUTCString());
xhr_wr.onreadystatechange = function() { return; };
if (typeof(g_debug) == 'number' && g_debug > 0
- && typeof(console) == 'object' && typeof(console.log) == 'function') {
+ && typeof(console) == 'object' && typeof(console.log) == 'function') { // OK
var ldate = new Date();
- console.log(ldate.getTime()+':MESG:'+mesg);
+ console.log(ldate.getTime()+':MESG:'+mesg); // OK
}
xhr_wr.send(null);
var ind = 0;
var ancestor = curtag;
do {
- console.log(spcs("_", "+", ind)+" ["+curtag.tagName+"] nodeType: "+curtag.nodeType+" inner: ["+curtag.innerHTML+"]");
+ console.log(spcs("_", "+", ind)+" ["+curtag.tagName+"] nodeType: "+curtag.nodeType+" inner: ["+curtag.innerHTML+"]"); // OK
if (curtag.firstChild != null && curtag.tagName != "TD") {
ind += 2;
curtag = curtag.firstChild;
log: function (s) {
if (this.console != null) {
- return (this.console.log(s));
+ return (this.console.log(s)); // OK
}
}
}