[OpenLayers-Trac] Re: [OpenLayers] #2873: Build: Compressed code "OpenLayers.js" can be reduced by 9k

OpenLayers trac-20090302 at openlayers.org
Wed Oct 13 12:07:54 EDT 2010


#2873: Build: Compressed code "OpenLayers.js" can be reduced by 9k
----------------------+-----------------------------------------------------
  Reporter:  jorix    |       Owner:  jorix       
      Type:  feature  |      Status:  reopened    
  Priority:  minor    |   Milestone:  2.11 Release
 Component:  general  |     Version:  2.10        
Resolution:           |    Keywords:              
     State:  Review   |  
----------------------+-----------------------------------------------------
Changes (by ahocevar):

  * status:  closed => reopened
  * state:  Complete => Review
  * resolution:  fixed =>


Comment:

 In case people use an old build profile with a script name other than
 OpenLayers.js, _getScriptLocation from OpenLayers.js will break. The
 attached patch fixes this also. In addition, I changed the previous fix to
 use single character names. Not something to do anywhere else, but just
 here because it's obvious what happens in the code, and saves us a few
 bytes :-)

-- 
Ticket URL: <http://trac.openlayers.org/ticket/2873#comment:21>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list