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

OpenLayers trac at openlayers.org
Tue Sep 11 12:19:07 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.6 Release
 Component:  general    |     Version:  2.4        
Resolution:             |    Keywords:             
------------------------+---------------------------------------------------
Changes (by euzuro):

  * owner:  => euzuro
  * status:  new => assigned

Comment:

 after potatoe chips cr5 and i decided that probably the best appropriate
 way to deal with this is to do what i've mentioned above except to raise a
 Console.error() if the function *is* defined.

 Those tackon prototype functions are necessary for OL to work correctly
 and if there is a collision it needs to be reported as an error.

 I'll take this on but not until 2.6

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


More information about the Trac mailing list