false alarm complaint
if ( document.URL.indexOf("file:") != 0) document.writeln( "<div class=\"g-plusone\"></div>" );
I get the following error
[JavaScript Lint] lint warning: comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)
indexOf returns an int, no? So what's the problem?
I get the following error
[JavaScript Lint] lint warning: comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)
indexOf returns an int, no? So what's the problem?