blob: 8dff0ec5928520d525a69f2d17424ae3a1569123 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<html>
<head>
<script type="text/javascript">
window.OpenLayers = new Array(
"OpenLayers/Util.js",
"OpenLayers/BaseTypes.js"
);
</script>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
function test_OpenLayers(t) {
t.plan(1);
var s = document.getElementsByTagName("script");
var src, count = 0;
for(var i=0, len=s.length; i<len; i++) {
src = s[i].getAttribute('src');
if(src) {
count++;
}
}
t.eq(count, 3, "Three OpenLayers scripts loaded.");
}
</script>
</head>
<body>
</body>
</html>
|