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

OpenLayers trac at openlayers.org
Mon Nov 5 14:19:08 EST 2007


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

 Replying to [comment:2 crschmidt]:
 > Good for discussion after 2.5.

 fredj's patch makes sense to me. OpenLayers.Util.applyDefaults() should
 return the destination value, just like OpenLayers.Util.extend() does.
 Does anyone have a strong opinion against that? If not, I think we can
 commit this back to trunk.

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


More information about the Trac mailing list