switch around order of call to superclass.clone() and the setting of noninit/nonsimple vars. that needs to be done *afterwards*. there is no functional difference in this commit -- it is only for good precedence.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@901 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-07-06 13:00:24 +00:00
parent c13f7f5d4d
commit 6b8bde0ff4

View File

@@ -59,10 +59,12 @@ OpenLayers.Layer.HTTPRequest.prototype =
this.options);
}
//get all additions from superclasses
obj = OpenLayers.Layer.prototype.clone.apply(this, [obj]);
// copy/set any non-init, non-simple values here
//get all additions from superclasses
return OpenLayers.Layer.prototype.clone.apply(this, [obj]);
return obj;
},
/**