mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 23:23:28 +00: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:
@@ -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