[OpenLayers-Dev] Compressed code "OpenLayers.js" can also be reduced 8k

Xavier Mamano (jorix) xavier.mamano at gmail.com
Tue Oct 12 07:24:03 EDT 2010


Hi list,

"OpenLayers.js" compressed code in:
  if(!singleFile) {
      var jsfiles = new Array(
          "OpenLayers/Util.js",
      ...    
  }
never run in single file mode, and has a size of 8k. (6.25% using lite.cfg)

See http://trac.osgeo.org/openlayers/ticket/2873, the patch proposes changes
in "tools/mergejs.py" to can specify the exclusion of part of the code in a
js file.
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Compressed-code-OpenLayers-js-can-also-be-reduced-8k-tp5626308p5626308.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.


More information about the Dev mailing list