Changing all tabs to spaces, per CodingStandards.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@139 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-05-18 12:42:38 +00:00
parent 147a45feff
commit 6ab326f67d
8 changed files with 68 additions and 68 deletions

View File

@@ -5,18 +5,18 @@
var layer;
function test_01_Layer_constructor (t) {
t.plan( 2 );
layer = new OpenLayers.Layer('Test Layer');
t.ok( layer instanceof OpenLayers.Layer, "new OpenLayers.Layer returns object" );
t.eq( layer.name, "Test Layer", "layer.name is correct" );
t.plan( 2 );
layer = new OpenLayers.Layer('Test Layer');
t.ok( layer instanceof OpenLayers.Layer, "new OpenLayers.Layer returns object" );
t.eq( layer.name, "Test Layer", "layer.name is correct" );
}
function test_99_Layer_destroy (t) {
t.plan( 1 );
layer = new OpenLayers.Layer('Test Layer');
layer.destroy();
t.eq( layer.map, null, "layer.map is null after destroy" );
t.plan( 1 );
layer = new OpenLayers.Layer('Test Layer');
layer.destroy();
t.eq( layer.map, null, "layer.map is null after destroy" );
}
// -->
</script>