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:
Tim Schaub
2008-01-05 00:39:33 +00:00
parent d516b63fe3
commit 02ad66f580

View File

@@ -51,7 +51,7 @@ if ($ == null) {
OpenLayers.Util.extend = function(destination, source) {
if(destination && source) {
for(var property in source) {
value = source[property];
var value = source[property];
if(value !== undefined) {
destination[property] = value;
}