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 committed 2025-04-15 15:18:06 +08:00
1 parent cda6f89dba
commit 9e36702eb2
4 files changed
+145 -75

No files matched your search

-2
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);
}