-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
32 lines (31 loc) · 925 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
</head>
<body onload="onLoad()">
<div id="log"></div>
<script type="text/javascript">
var jsilConfig = {
libraryRoot: "../JSIL/Libraries/",
manifestRoot: "bin/JSIL/",
scriptRoot: "bin/JSIL/",
fileRoot: "bin/JSIL/",
assetRoot: "bin/JSIL/",
manifests: [
"MinimalPInvoke.exe",
"../../clib.dll"
],
};
</script>
<script src="../JSIL/Libraries/JSIL.js" type="text/javascript"></script>
<script type="text/javascript">
function runMain () {
window.asm = JSIL.GetAssembly("MinimalPInvoke", true);
var module = JSIL.PInvoke.GetModule("clib.dll");
module.printErr = function(s) { console.error(s) };
asm.MinimalPInvoke.Program.Main();
};
</script>
</body>
</html>