[OpenLayers-Users] Minifying scripts
Xavier Mamano (jorix)
xavier.mamano at gmail.com
Sun Nov 4 10:51:59 PST 2012
Hi,
The code of Openlayers 2.x does not support "ADVANCED_OPTIMIZATIONS" of
Closure Compiler. Use "SIMPLE_OPTIMIZATIONS".
Try use "build.py -c closure your-configuration.cfg" from "build" folder
(see http://www.openlayers.org/dev/build/README.txt and
http://docs.openlayers.org/library/deploying.html)
Code not
appleton wrote
> What is the recommended method of minifying scripts that use OpenLayers?
>
> I have tried Google's Closure Compiler in advanced mode but it renames the
> OpenLayers functions that are being called, like OpenLayers.d.Zoom
>
> Is there a way to tell Closure to NOT minify any of the OpenLayers calls?
>
> Or is there a better minifier for OpenLayers scripts?
>
> _______________________________________________
> Users mailing list
> Users at .osgeo
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Minifying-scripts-tp5013815p5013832.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list