<html>
<head>
<title>ImGui JavaScript+WebGL example</title>
<!-- <script type="text/javascript" src="../node_modules/systemjs/dist/system.js"></script> -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.20.19/system.js"></script>
<script type="text/javascript">
window.addEventListener("load", function(event) {
SystemJS.config({
paths: {
"imgui-js": ".."
},
packages: {
"imgui-js": {
main: "imgui.js",
defaultExtension: 'js',
meta: { "bind-imgui.js": { exports: "Module" } }
}
}
});
SystemJS.import("./main")
.then(function (main) { main.default(); })
.catch(console.error);
});
</script>
</head>
<body>
<a href="https://github.com/flyover/imgui-js.git"><img style="position: absolute; top: 0; right: 0; border: 0; z-index: 1;" src="https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"></a>
</body>
</html>