[OpenLayers-Users] Which JavaScript Obfuscator does OpenLayers use?

Christopher Schmidt crschmidt at metacarta.com
Wed Apr 2 10:13:49 EDT 2008


On Wed, Apr 02, 2008 at 09:08:31AM -0500, Bellenger, Jim wrote:
> I was wondering which JavaScript Obfuscator does OpenLayers use to
> crunch down the scripts?

Jim,

The default build tools, used to create the 'shipping' versions of
OpenLayers, use a Python port of jsmin. (This file is available in the
tools/ directory.)

jsmin is not designed to be an obfuscator: just a basic compressor.

It is possible to use any Javascript compressor to compress OpenLayers
code, if jsmin does not fit your needs: simply use the
./buildUncompressed.py tool in the build directory to build and
uncompressed library, then run the result through your compressor of
choice.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list