readability, setting precedent.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@881 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -96,7 +96,9 @@ OpenLayers.Layer.prototype = {
|
||||
Object.extend(mergedOptions, newOptions);
|
||||
}
|
||||
|
||||
return new OpenLayers.Layer(newName, mergedOptions);
|
||||
var clone = new OpenLayers.Layer(newName, mergedOptions);
|
||||
|
||||
return clone;
|
||||
},
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user