[OpenLayers-Trac] [OpenLayers] #992: Allow applyDefaults() to return the modified object
OpenLayers
trac at openlayers.org
Mon Nov 5 16:22:23 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 euzuro):
jaja. this does seem like the kind of thing that i'd complain about. as
eric puts it, though, it seems to make sense to me. if we return a value
in extend(), we might as well return one in applyDefaults() as well.
In theory, I think it's confusing, because the user might think s/he's
getting a *new* object back.... but still. i think consistency is more
important.
--
Ticket URL: <http://trac.openlayers.org/ticket/992#comment:6>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list