small update to simplify code. when this class's initialize() function was changed, this was left as-is but now it can be reverted to just calling the constructor simply. #646

git-svn-id: http://svn.openlayers.org/trunk/openlayers@3029 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2007-04-06 16:43:08 +00:00
parent 50237086a4
commit c0240b9ea5

View File

@@ -28,9 +28,7 @@ OpenLayers.Tile.WFS.prototype =
* @param {OpenLayers.Size} size
*/
initialize: function(layer, position, bounds, url, size) {
var newArguments = arguments;
newArguments = [layer, position, bounds, null, size];
OpenLayers.Tile.prototype.initialize.apply(this, newArguments);
OpenLayers.Tile.prototype.initialize.apply(this, arguments);
this.url = url;
this.features = new Array();
},