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:
@@ -59,10 +59,12 @@ OpenLayers.Layer.HTTPRequest.prototype =
|
|||||||
this.options);
|
this.options);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//get all additions from superclasses
|
||||||
|
obj = OpenLayers.Layer.prototype.clone.apply(this, [obj]);
|
||||||
|
|
||||||
// copy/set any non-init, non-simple values here
|
// copy/set any non-init, non-simple values here
|
||||||
|
|
||||||
//get all additions from superclasses
|
return obj;
|
||||||
return OpenLayers.Layer.prototype.clone.apply(this, [obj]);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user