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

OpenLayers trac-20090302 at openlayers.org
Thu Oct 14 02:37:57 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:  Commit   |  
----------------------+-----------------------------------------------------
Changes (by erilem):

  * state:  Review => Commit


Comment:

 Replying to [comment:21 ahocevar]:
 > In case people use an old build profile with a script name other than
 OpenLayers.js, _getScriptLocation from OpenLayers.js will break.

 Excellent catch.

 > 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 :-)

 Also good to me.

 Thanks, please commit.

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


More information about the Trac mailing list