forked from hef/imgui-in-browser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshell.html
36 lines (34 loc) · 835 Bytes
/
shell.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
<!doctype html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--<title>Tech Toy</title>-->
<style>
body {
background-color: #171717;
}
.emscripten_border {
border: 1px solid black;
display: table;
margin: 0 auto;
}
.emscripten {
display: block;
border: 0px none;
background-color: black;
}
</style>
</head>
<body>
<div class="emscripten_border">
<canvas class="emscripten" id="canvas" oncontextmenu="event.preventDefault()"></canvas>
</div>
<script>
Module = {
canvas: document.getElementById('canvas')
}
</script>
<script async type="text/javascript" src="index.js"></script>
</body>
</html>