From c0240b9ea54313b5a91d1763f25b43e686d15822 Mon Sep 17 00:00:00 2001 From: euzuro Date: Fri, 6 Apr 2007 16:43:08 +0000 Subject: [PATCH] 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 --- lib/OpenLayers/Tile/WFS.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/OpenLayers/Tile/WFS.js b/lib/OpenLayers/Tile/WFS.js index 96db94685c..5142f1c031 100644 --- a/lib/OpenLayers/Tile/WFS.js +++ b/lib/OpenLayers/Tile/WFS.js @@ -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(); },