Improve documentation

Remove Env from caller, and don't store Env in isolate. We don't need it, we
can execute all runtime code from the Executor (which we store a pointer to
in the v8.Context)
This commit is contained in:
Karl Seguin
2025-04-14 15:17:26 +08:00
parent cda6f89dba
commit 9e36702eb2
4 changed files with 145 additions and 75 deletions

View File

@@ -488,7 +488,6 @@ pub const JsRunner = struct {
}
};
const RunnerOpts = struct {
html: []const u8 =
\\ <div id="content">
@@ -506,4 +505,3 @@ const RunnerOpts = struct {
pub fn jsRunner(alloc: Allocator, opts: RunnerOpts) !*JsRunner {
return JsRunner.init(alloc, opts);
}