28 lines
743 B
HTML
28 lines
743 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>Gir testbench</title>
|
|
<script type="text/javascript">
|
|
// Implement "module" support
|
|
let exports = {};
|
|
</script>
|
|
<script type="text/javascript" src="gir.js"></script>
|
|
<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>
|
|
</head>
|
|
<html>
|
|
<p>Open the JavaScript console</p>
|
|
<!-- TODO: Implement some kind of html interface -->
|
|
</html>
|
|
</html>
|