From 4b599da130236b5d0965184217658fca5f8f1266 Mon Sep 17 00:00:00 2001 From: euzuro Date: Wed, 2 May 2007 14:01:13 +0000 Subject: [PATCH] fix tests -- ie destroys page and thereofre map object, which causes problems with this simulated renderer (it needs a destroy) git-svn-id: http://svn.openlayers.org/trunk/openlayers@3111 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- tests/Layer/test_Vector.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Layer/test_Vector.html b/tests/Layer/test_Vector.html index 28c89ff53c..c368c14f9c 100644 --- a/tests/Layer/test_Vector.html +++ b/tests/Layer/test_Vector.html @@ -119,7 +119,8 @@ layer.renderer = { eraseFeatures: function(features) { f = features[0]; - } + }, + destroy: function() { } }; layer.eraseFeatures([feature]);