mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-10-07 03:41:34 -04:00
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:
1 parent
cda6f89dba
commit
9e36702eb2
4 files changed
+145
-75
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user