-
Notifications
You must be signed in to change notification settings - Fork 176
/
index.html
64 lines (64 loc) · 2.09 KB
/
index.html
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html>
<head>
<title>ol-layerswitcher spec runner</title>
<meta charset="utf-8" />
<link
rel="stylesheet"
type="text/css"
href="../node_modules/mocha/mocha.css"
/>
<link rel="stylesheet" href="https://openlayers.org/en/v6.1.1/css/ol.css" />
<link rel="stylesheet" type="text/css" href="../dist/ol-layerswitcher.css" />
<style type="text/css">
/* Can be useful when writing tests, uncomment the following CSS to always show
the panel and add a `debugger` statement where you want to inspect the current state */
/*
.layer-switcher .panel {
display: block;
}
#map1, #map2 {
height: 600px;
}
*/
</style>
</head>
<body>
<div id="mocha"></div>
<script
type="text/javascript"
src="../node_modules/jquery/dist/jquery.js"
></script>
<script
type="text/javascript"
src="../node_modules/expect.js/index.js"
></script>
<script
type="text/javascript"
src="../node_modules/mocha/mocha.js"
></script>
<script
type="text/javascript"
src="https://cdn.jsdelivr.net/npm/lodash@4.17.11/lodash.min.js"
></script>
<script src="https://cdn.jsdelivr.net/npm/difflib@0.2.4/dist/difflib-browser.min.js"></script>
<script>
mocha.setup({
ui: 'bdd',
bail: false
});
</script>
<script src="https://openlayers.org/en/v6.1.1/build/ol.js"></script>
<script type="text/javascript" src="../dist/ol-layerswitcher.js"></script>
<script type="text/javascript" src="utils.js"></script>
<script type="text/javascript" src="spec/ol-layerswitcher.js"></script>
<script type="text/javascript" src="spec/twomaps.js"></script>
<script type="text/javascript" src="spec/renderpanel.js"></script>
<script type="text/javascript" src="spec/groupselectstyle.js"></script>
<script type="text/javascript" src="spec/startactive.js"></script>
<script type="text/javascript" src="spec/activationmode.js"></script>
<script>
mocha.run();
</script>
</body>
</html>