as universally approved on discussions on dev list, replace new Object() with {}. all tests pass ff & ie6
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3814 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
layer2 = new OpenLayers.Layer.EventPane('Test Layer');
|
||||
|
||||
//give dummy function so test wont bomb on layer.setMap()
|
||||
layer2.loadMapObject = function() { this.mapObject = new Object(); };
|
||||
layer2.loadMapObject = function() { this.mapObject = {}; };
|
||||
layer2.getWarningHTML = function() { this.warning = true; return ""; }
|
||||
|
||||
map.addLayer(layer2);
|
||||
|
||||
Reference in New Issue
Block a user