-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathshell.html
More file actions
41 lines (36 loc) · 880 Bytes
/
Copy pathshell.html
File metadata and controls
41 lines (36 loc) · 880 Bytes
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
<!doctype html>
<html lang="EN-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>emscripten glfw</title>
<style>
#canvas {
margin: auto;
padding: 0;
display: block;
}
#canvas:focus {
outline: none;
}
#canvas-button {
text-align: center;
padding-top: 1em;
}
</style>
</head>
<body>
<h4>Welcome to Asyncify Example</h4>
<canvas class="emscripten" id="canvas" oncontextmenu="event.preventDefault()"></canvas>
<div id="canvas-button"><input id="fullscreen" type="button" name="fs" value="Fullscreen" onclick="Module.glfwRequestFullscreen('#canvas', false, true);"></div>
<h4>Help</h4>
<ul>
<li>CTRL+Q to terminate</li>
<li>CTRL+F or click the button for fullscreen</li>
</ul>
<script>
var Module = {};
</script>
{{{ SCRIPT }}}
</body>
</html>