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:
euzuro
2007-07-25 22:39:28 +00:00
parent 6d2e84892d
commit 5f0bde51da
19 changed files with 29 additions and 29 deletions

View File

@@ -7,7 +7,7 @@
function test_01_Tile_constructor (t) {
t.plan( 9 );
var layer = new Object(); // bogus layer
var layer = {}; // bogus layer
var position = new OpenLayers.Pixel(10,20);
var bounds = new OpenLayers.Bounds(1,2,3,4);
var url = "bobob";
@@ -31,7 +31,7 @@
t.plan( 6 );
var layer = new Object(); // bogus layer
var layer = {}; // bogus layer
var position = new OpenLayers.Pixel(10,20);
var bounds = new OpenLayers.Bounds(1,2,3,4);
var url = "bobob";