[OpenLayers-Trac] [OpenLayers] #992: Allow applyDefaults() to return the modified object

OpenLayers trac at openlayers.org
Fri Nov 9 15:13:33 EST 2007


#992: Allow applyDefaults() to return the modified object
----------------------+-----------------------------------------------------
  Reporter:  fredj    |       Owner:             
      Type:  feature  |      Status:  closed     
  Priority:  minor    |   Milestone:  2.6 Release
 Component:  Util     |     Version:  SVN        
Resolution:  fixed    |    Keywords:             
----------------------+-----------------------------------------------------
Changes (by elemoine):

  * keywords:  review =>
  * status:  new => closed
  * resolution:  => fixed

Comment:

 (In [5162]) Make OpenLayers.Util.applyDefaults() return the modified
 object. To be consistent with OpenLayers.Util.Extend() and be able to use
 anonymous object as the 'to' object. Thanks fredj for the patch and tests.
 Thanks euzuro and crschmidt for the reviews. (closes #992)

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


More information about the Trac mailing list