gir/gir.html

29 lines
743 B
HTML
Raw Permalink Normal View History

2018-05-21 20:55:48 +00:00
<!DOCTYPE html>
<html>
<head>
2018-05-24 20:35:50 +00:00
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2018-05-21 20:55:48 +00:00
<title>Gir testbench</title>
2018-05-27 20:54:59 +00:00
<script type="text/javascript">
// Implement "module" support
let exports = {};
</script>
2018-05-21 20:55:48 +00:00
<script type="text/javascript" src="gir.js"></script>
2018-05-27 20:54:59 +00:00
<script type="text/javascript">
let girExports = exports;
// Implement "module" support
// This is possibly not quite compliant
function require(string) {
return girExports;
}
require.main = 'foo';
module = 'bar';
exports = {};
</script>
<script type="text/javascript" src="ircbot.js"></script>
2018-05-21 20:55:48 +00:00
</head>
<html>
<p>Open the JavaScript console</p>
<!-- TODO: Implement some kind of html interface -->
</html>
</html>