[OpenLayers-Trac] [OpenLayers] #962: Check for existing prototypes on objects and don't clobber them

OpenLayers trac at openlayers.org
Sat Sep 15 20:22:44 EDT 2007


#962: Check for existing prototypes on objects and don't clobber them
------------------------+---------------------------------------------------
  Reporter:  crschmidt  |       Owner:  euzuro     
      Type:  task       |      Status:  assigned   
  Priority:  major      |   Milestone:  2.5 Release
 Component:  general    |     Version:  2.4        
Resolution:             |    Keywords:             
------------------------+---------------------------------------------------
Changes (by crschmidt):

  * milestone:  2.6 Release => 2.5 Release

Comment:

 So, with #712 going in, we've made the situation inside of OpenLayers
 better -- we no longer depend on function.bind being what we want.

 However, we want to provide backwards compatibility -- and the new way of
 providing backwards compatibility seems to break Safari and Opera.

 It seems that the extensions we do to bind are not compatible with
 Prototype -- at least version 1.6.0 -- so the mixing and matching of
 prototype with OpenLayers causes problems.

 Patch incoming.

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


More information about the Trac mailing list