forked from CesiumGS/cesium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSpecRunner.html
53 lines (49 loc) · 1.6 KB
/
SpecRunner.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Jasmine Spec Runner v2.2.0</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link
rel="stylesheet"
type="text/css"
href="Data/Fonts/OpenSans-Main.css"
/>
<link
rel="shortcut icon"
type="image/png"
href="../ThirdParty/jasmine-2.2.0/jasmine_favicon.png"
/>
<link rel="stylesheet" href="../ThirdParty/jasmine-2.2.0/jasmine.css" />
<link rel="stylesheet" href="CesiumJasmineHtml.css" />
<script src="../ThirdParty/jasmine-2.2.0/jasmine.js"></script>
<script src="../ThirdParty/jasmine-2.2.0/jasmine-html.js"></script>
</head>
<body>
<span
style="font-family: 'Open Sans'; position: absolute; visibility: hidden"
> </span
>
<script>
if (window.location.search.indexOf("built") !== -1) {
if (window.location.search.indexOf("release") !== -1) {
document.write('<script src="../Build/Cesium/Cesium.js"><\/script>');
} else {
document.write(
'<script src="../Build/CesiumUnminified/Cesium.js"><\/script>'
);
}
document.write('<script src="../Build/Specs/spec-main.js"><\/script>');
document.write('<script src="../Build/Specs/Specs.js"><\/script>');
} else {
window.CESIUM_BASE_URL = "../Source/";
document.write('<script type="module" src="spec-main.js"><\/script>');
}
</script>
<script>
if (window.location.search.indexOf("built") !== -1) {
jasmine.getEnv().execute();
}
</script>
</body>
</html>