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

@@ -4,10 +4,10 @@
<script type="text/javascript"><!--
var map;
function test_01_Events_constructor (t) {
t.plan( 18 );
t.plan( 18 );
var obj = {result: 0}, eventTypes = ["doThingA", "doThingB", "doThingC"];
events = new OpenLayers.Events(obj, $('map'), eventTypes);
t.ok( events instanceof OpenLayers.Events, "new OpenLayers.Control returns object" );
events = new OpenLayers.Events(obj, $('map'), eventTypes);
t.ok( events instanceof OpenLayers.Events, "new OpenLayers.Control returns object" );
t.ok( events.div instanceof HTMLDivElement, "events.div isa HTMLDivElement" );
t.ok( events.object === obj, "events.object is the object we passed" );
@@ -35,7 +35,7 @@
}
function test_02_Events_nullEventTypes (t) {
t.plan(1);
events = new OpenLayers.Events(null, $('map'), null);
events = new OpenLayers.Events(null, $('map'), null);
t.ok( events.listeners, "Creation of Events with null Event Types is okay" );
}
// -->