hash -> hashtable and Hash -> Object -- let there be no confusion, we are *not* using prototype

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1144 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-08-09 04:36:39 +00:00
parent f65ea55fa3
commit f339e3a93d
14 changed files with 37 additions and 31 deletions

View File

@@ -123,7 +123,7 @@
newParams.CHICKPEAS = 151;
t.eq( layer.params.CHICKPEAS, "image/png", "mergeNewParams() makes clean copy of hash");
t.eq( layer.params.CHICKPEAS, "image/png", "mergeNewParams() makes clean copy of hashtable");
}
function test_07_Layer_WMS_getFullRequestString (t) {

View File

@@ -62,8 +62,8 @@
function test_04_Map_options(t) {
t.plan(2);
map = new OpenLayers.Map($('map'), {maxZoomLevel: 5, maxResolution: 3.14159});
t.eq( map.maxZoomLevel, 5, "map.maxZoomLevel set correctly via options hash" );
t.eq( map.maxResolution, 3.14159, "map.maxResolution set correctly via options hash" );
t.eq( map.maxZoomLevel, 5, "map.maxZoomLevel set correctly via options hashtable" );
t.eq( map.maxResolution, 3.14159, "map.maxResolution set correctly via options hashtable" );
}
function test_05_Map_center(t) {
t.plan(4);