[OpenLayers-Dev] coding style best practices
Erik Uzureau
erik.uzureau at metacarta.com
Mon Oct 1 21:03:47 EDT 2007
That said, I would be thrilled to get people running JSLint on the OL
codebase regularly. It might be interesting to add it as a step in the
RC process or something like that.
At this point, however, OL is riding like an octopus on ridalin... so
we better tend to essential matters first.
Let it not be forgotten!
On 10/1/07, Christopher Schmidt <crschmidt at metacarta.com> wrote:
> On Mon, Oct 01, 2007 at 08:46:43PM -0400, Paul Spencer wrote:
> > Somewhat unrelated to coding standards, what do you think about using
> > jslint, perhaps as a pre-commit hook? There are a couple of places
> > that jslint gives warnings about in OpenLayers that are probably not
> > necessary to fix (regular expressions I think), but I did find a
> > number of missing semi-colons just working on the transition stuff.
>
> Pre- or post-commit hooks I'm trying to limit -- too many ways to fail,
> too much chance of getting caught up on the server bombing out.
>
> Our commit process is rigorous enough that it typically catches any bugs
> that affect behavior -- running the tests in multiple browsers will do
> that.
>
> Regards,
> --
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>
More information about the Dev
mailing list