Hi list, The Closure Compiler can check the source code and reports errors and warnings that can improve the source code.
The http://trac.osgeo.org/openlayers/ticket/3008 #3008 ticket allows the use of the compiler on OpenLayers and can also take the Natural Docs comments to check the code. Try: build/compile.py -m jsDoc full.cfg and see the WARNING. If not using the revision http://trac.osgeo.org/openlayers/changeset/11000 r11000 or later the compilation report at least one serious error. Using Closure Compiler can prevent bad code as: http://trac.osgeo.org/openlayers/ticket/2960 #2960 , #2971, #2976, #3001 and also http://trac.osgeo.org/openlayers/ticket/2989 #2989 Also highlight that the compiler can generate code 20% smaller than jsmin. Regards, Xavier Mamano -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Integrate-Closure-Compiler-on-OpenLayers-2-11-tp5895990p5895990.html Sent from the OpenLayers Dev mailing list archive at Nabble.com. _______________________________________________ Dev mailing list d...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-dev