Hi,
Just wondering: While looking through the code of OpenLayers and saving the
scripts (when my editor automatically runs jslint to check the code for
sanity), I get a lot of warning where you have e.g.:
if (a == null) { // WARNING HERE
// do something
}
and jslint tells me, it should be
if (a === null) { // NO WARNING HERE
// do something
}
(which is when the error/warning goes away). I was wondering if we should
put triple === in those places instead. I know it would be a daunting task
to do so but wouldn't it be better to get more consistent results? Because
a == null is true when a =
To be fair it's just annoying getting these warnings when coding. Maybe I
can turn that part of reporting off somehow, because it seems almost
over-sensitive.
Tim
++Tim Hinnerk Heuer++
Twitter: @timhheuer
Blog: http://www.thheuer.com
_______________________________________________
Dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-dev