keep local value (closes #1248)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5652 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -51,7 +51,7 @@ if ($ == null) {
|
|||||||
OpenLayers.Util.extend = function(destination, source) {
|
OpenLayers.Util.extend = function(destination, source) {
|
||||||
if(destination && source) {
|
if(destination && source) {
|
||||||
for(var property in source) {
|
for(var property in source) {
|
||||||
value = source[property];
|
var value = source[property];
|
||||||
if(value !== undefined) {
|
if(value !== undefined) {
|
||||||
destination[property] = value;
|
destination[property] = value;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user