diff --git a/lib/OpenLayers/Layer/Grid.js b/lib/OpenLayers/Layer/Grid.js index 1345c6a583..f72251a933 100644 --- a/lib/OpenLayers/Layer/Grid.js +++ b/lib/OpenLayers/Layer/Grid.js @@ -62,7 +62,7 @@ OpenLayers.Layer.Grid.prototype = this.options); } - //set any non-init vars here + // copy/set any non-init, non-simple values here //get all additions from superclasses return OpenLayers.Layer.HTTPRequest.prototype.clone.apply(this, [obj]); diff --git a/lib/OpenLayers/Layer/HTTPRequest.js b/lib/OpenLayers/Layer/HTTPRequest.js index 7d242f86f2..0bf4259fc1 100644 --- a/lib/OpenLayers/Layer/HTTPRequest.js +++ b/lib/OpenLayers/Layer/HTTPRequest.js @@ -59,7 +59,7 @@ OpenLayers.Layer.HTTPRequest.prototype = this.options); } - //set any non-init vars here + // copy/set any non-init, non-simple values here //get all additions from superclasses return OpenLayers.Layer.prototype.clone.apply(this, [obj]);