[OpenLayers-Trac] [OpenLayers] #2972: Closure Compiler for
OpenLayers 2.x
OpenLayers
trac-20090302 at openlayers.org
Wed Dec 8 14:48:12 EST 2010
#2972: Closure Compiler for OpenLayers 2.x
---------------------+------------------------------------------------------
Reporter: jorix | Owner:
Type: feature | Status: new
Priority: minor | Milestone: 2.11 Release
Component: general | Version: 2.10
Keywords: | State:
---------------------+------------------------------------------------------
Using the Closure Compiler can compress the code by 20% but also to find
errors such as undefined variables. Undefined variables in JavaScript are
a nightmare because they are global names.
I've embedded the Clousure Compiler in build/build.py selecting run
parameters that do not generate too many warnings and not allow undefined
variables.
See bugs: #2960 and #2971 which are detected with Clousure Compiler.
--
Ticket URL: <http://trac.openlayers.org/ticket/2972>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list