[OpenLayers-Commits] r5658 - in trunk/openlayers/tests: . Control Layer
commits at openlayers.org
commits at openlayers.org
Sun Jan 6 17:10:28 EST 2008
Author: tschaub
Date: 2008-01-06 17:10:28 -0500 (Sun, 06 Jan 2008)
New Revision: 5658
Modified:
trunk/openlayers/tests/Control/test_Attribution.html
trunk/openlayers/tests/Control/test_Scale.html
trunk/openlayers/tests/Layer/test_MapServer.html
trunk/openlayers/tests/grid_inittiles.html
Log:
If your browser doesn't support the script tag, you have no business running these tests.
Modified: trunk/openlayers/tests/Control/test_Attribution.html
===================================================================
--- trunk/openlayers/tests/Control/test_Attribution.html 2008-01-06 21:44:13 UTC (rev 5657)
+++ trunk/openlayers/tests/Control/test_Attribution.html 2008-01-06 22:10:28 UTC (rev 5658)
@@ -1,7 +1,7 @@
<html>
<head>
<script src="../../lib/OpenLayers.js"></script>
- <script type="text/javascript"><!--
+ <script type="text/javascript">
var map;
function test_01_Control_Attribution_constructor (t) {
t.plan( 2 );
@@ -35,7 +35,6 @@
}
- // -->
</script>
</head>
<body>
Modified: trunk/openlayers/tests/Control/test_Scale.html
===================================================================
--- trunk/openlayers/tests/Control/test_Scale.html 2008-01-06 21:44:13 UTC (rev 5657)
+++ trunk/openlayers/tests/Control/test_Scale.html 2008-01-06 22:10:28 UTC (rev 5658)
@@ -1,7 +1,7 @@
<html>
<head>
<script src="../../lib/OpenLayers.js"></script>
- <script type="text/javascript"><!--
+ <script type="text/javascript">
var map;
function test_01_Control_Scale_constructor (t) {
t.plan( 2 );
@@ -44,7 +44,6 @@
map.addControl(control);
t.eq(control.div.firstChild.innerHTML, "Scale = 1 : 443M", "Internal scale displayed properly.");
}
- // -->
</script>
</head>
<body>
Modified: trunk/openlayers/tests/Layer/test_MapServer.html
===================================================================
--- trunk/openlayers/tests/Layer/test_MapServer.html 2008-01-06 21:44:13 UTC (rev 5657)
+++ trunk/openlayers/tests/Layer/test_MapServer.html 2008-01-06 22:10:28 UTC (rev 5658)
@@ -464,7 +464,6 @@
map.destroy();
}
- // -->
</script>
</head>
<body>
Modified: trunk/openlayers/tests/grid_inittiles.html
===================================================================
--- trunk/openlayers/tests/grid_inittiles.html 2008-01-06 21:44:13 UTC (rev 5657)
+++ trunk/openlayers/tests/grid_inittiles.html 2008-01-06 22:10:28 UTC (rev 5658)
@@ -9,7 +9,6 @@
</style>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
- <!--
function init(){
var map = new OpenLayers.Map('map', {'maxResolution': 1.40625/2, tileSize: new OpenLayers.Size(256,256)});
ww = new OpenLayers.Layer.WMS( "Basic",
@@ -21,7 +20,6 @@
map.zoomOut();
map.zoomOut();
}
- // -->
</script>
</head>
<body onload="init()">
More information about the Commits
mailing list