-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathindex.html
47 lines (47 loc) · 1.53 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
<!DOCTYPE html>
<html>
<head>
<title>WebAssembly Code Explorer</title>
<meta charset="utf-8">
<script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.20.12/system.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
<link href="https://fonts.googleapis.com/css?family=Roboto|Roboto+Mono" rel="stylesheet">
</head>
<body>
<div class="toolbar">
<div class="title">
WebAssembly Code Explorer
</div>
<button id="openFile">Open File</button>
<div class="hidden"><input type="file" id="browseFile"></div>
</div>
<div class="container">
<div id="dump" class="dump">
<div class="addresses">
<div></div>
</div>
<div class="rows">
<div class="row">
</div>
</div>
<div class="asciis">
<div class="ascii">
</div>
</div>
</div>
<div id="text" class="text">
</div>
</div>
<script>
SystemJS.config({
map: {
'wasmparser': 'https://unpkg.com/wasmparser/dist/cjs/WasmParser.js',
'wasmdis': 'https://unpkg.com/wasmparser/dist/cjs/WasmDis.js',
},
packages: {
}
});
System.import('./viewer.js');
</script>
</body>
</html>