removing HTML comment wrapping scripts - these haven't been necessary since Netscape 2.0 - if your browser doesn't run javsacript, please don't run these tests

git-svn-id: http://svn.openlayers.org/trunk/openlayers@4059 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2007-08-27 17:47:50 +00:00
parent f04d110119
commit e4d857b167
76 changed files with 150 additions and 151 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
<html>
<head>
<script src="../../lib/OpenLayers.js"></script>
<script type="text/javascript"><!--
<script type="text/javascript">
var test_content = '<wfs:FeatureCollection' +
' xmlns:fs="http://example.com/featureserver"' +
@@ -56,7 +56,7 @@
t.eq(window.i, undefined,
"i is undefined in window scope after reading.");
}
// -->
</script>
</head>
<body>
+2 -2
View File
@@ -1,7 +1,7 @@
<html>
<head>
<script src="../../lib/OpenLayers.js"></script>
<script type="text/javascript"><!--
<script type="text/javascript">
var poly_content = '{"type": "FeatureCollection", "members": [{"geometry": {"type": "Polygon", "coordinates": [[[-131.484375, -5.9765625], [-112.5, -58.0078125], [-32.34375, -50.2734375], [-114.609375, 52.3828125], [-167.34375, -35.5078125], [-146.953125, -57.3046875], [-139.921875, -34.1015625], [-131.484375, -5.9765625]]]}, "type": "Feature", "id": 562, "properties": {"strokeColor": "red", "title": "Feature 2", "author": "Your Name Here"}}]}';
var point_feature = '{"geometry": {"type": "Point", "coordinates": [94.21875, 72.94921875]}, "type": "Feature", "id": 573, "properties": {"strokeColor": "blue", "title": "Feature 5", "author": "Your Name Here"}}'
@@ -259,7 +259,7 @@
t.eq(data[0].attributes['author'], 'Your Name Here', 'read author attribute properly');
}
// -->
</script>
</head>
<body>
+2 -2
View File
@@ -1,7 +1,7 @@
<html>
<head>
<script src="../../lib/OpenLayers.js"></script>
<script type="text/javascript"><!--
<script type="text/javascript">
@@ -31,7 +31,7 @@
t.eq(data.firstChild.childNodes[2].firstChild.nodeValue, '45.68 -111.04 45.68 -112.04 ', 'GeoRSS serializes a line correctly');
}
}
// -->
</script>
</head>
<body>
+2 -2
View File
@@ -1,7 +1,7 @@
<html>
<head>
<script src="../../lib/OpenLayers.js"></script>
<script type="text/javascript"><!--
<script type="text/javascript">
@@ -33,7 +33,7 @@
var obj = '{"a":["b"],"c":1}';
t.eq(data, obj, "writing data to json works.");
}
// -->
</script>
</head>
<body>
+2 -2
View File
@@ -1,7 +1,7 @@
<html>
<head>
<script src="../../lib/OpenLayers.js"></script>
<script type="text/javascript"><!--
<script type="text/javascript">
var points = [];
for(var i=0; i<12; ++i) {
@@ -182,7 +182,7 @@
"format correctly writes GeometryCollection WKT");
}
// -->
</script>
</head>
<body>
+2 -2
View File
@@ -1,7 +1,7 @@
<html>
<head>
<script src="../../lib/OpenLayers.js"></script>
<script type="text/javascript"><!--
<script type="text/javascript">
var text =
'<?xml version="1.0"?>' +
'<ol:root xmlns="http://namespace.default.net" ' +
@@ -209,7 +209,7 @@
t.ok(found === false, "returns false for bad attribute");
}
// -->
</script>
</head>
<body>