[Prototype-core] Re: Add JavaScript Lint to build process?

2009-03-25 Thread Jonathan Buhacoff
I'm glad Robert brought up this subject. I asked about this on IRC a while back and the answer was that prototype was "hand-crafted", is beautiful the way it is, and that modifying it to pass strict syntax checking would somehow make it slower... I agree that there is some beautiful code in pro

[Prototype-core] Re: Add JavaScript Lint to build process?

2009-03-25 Thread Jonathan Buhacoff
Just had another thought -- it's possible to satisfy proponents of both strict coding and quick downloads. Given a strictly written program, it's possible to write a transformation to apply all the syntax shortcuts to it and produce an equivalent lean version with minimum whitespace and punctuati