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

OpenLayers trac-20090302 at openlayers.org
Tue Oct 26 11:14:03 EDT 2010


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

Comment(by erilem):

 Reopening. There are issues with IE8. This is because IE8 downloads
 scripts in parallel (*), and doesn't wait for a script to be fully
 evaluated before adding another <script> tag to the DOM. So this code
 doesn't work:

 {{{
 var m =
 s[s.length-1].getAttribute("src").match(/(^|(.*?\/))(OpenLayers\.js)(\?|$)/);
 }}}

 Patch to come.


 (*) http://ajaxian.com/archives/ie-8-and-performance

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


More information about the Trac mailing list