forked from onivim/oni
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (44 loc) · 1.16 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>ONI</title>
<link rel="stylesheet" href="font-awesome/css/font-awesome.min.css">
<style>
html, body {
width: 100%;
height: 100%;
padding: 0px;
margin: 0px;
overflow: hidden;
}
body {
font-family: Consolas, Monaco, 'Courier New', monospace;
font-size: 14px;
}
script {
display: none;
}
@keyframes spinner-rotate {
0% { transform: rotateY(0deg); }
100% { transform: rotateY(360deg); }
}
.webpack-loading-image {
animation: spinner-rotate 2s linear infinite;
}
</style>
</head>
<body>
<div id="host"></div>
<script>
console.timeStamp("browser.domloaded")
var path = "lib/browser/bundle.js"
if(process.env.ONI_WEBPACK_LOAD) {
path = "scripts/dev_webpack_loader.js"
}
var scriptTag = document.createElement("script");
scriptTag.src = path
document.body.appendChild(scriptTag);
</script>
</body>
</html>