mirror of
https://github.com/wu736139669/Monkey-Test.git
synced 2026-08-05 05:55:46 +00:00
15 lines
379 B
HTML
15 lines
379 B
HTML
<html>
|
|
<body>
|
|
<p>
|
|
Run <code>bundle.sh</code>, then bring up your JavaScript console and call <code>defs</code>
|
|
</p>
|
|
<script src="defs_bundle.js"></script>
|
|
<script>
|
|
var defs = require("./defs-main");
|
|
|
|
// The bundle can be loaded in node like this, for test purposes:
|
|
// var defs = eval(String(fs.readFileSync("./defs_bundle.js")))("./defs-main")
|
|
</script>
|
|
</body>
|
|
</html>
|