mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
Update to jsruntime engine interface
Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
const std = @import("std");
|
||||
|
||||
const jsruntime = @import("jsruntime");
|
||||
const Console = @import("jsruntime").Console;
|
||||
|
||||
const parser = @import("parser.zig");
|
||||
const DOM = @import("dom.zig");
|
||||
|
||||
@@ -18,7 +18,7 @@ fn testsExecFn(
|
||||
) !void {
|
||||
|
||||
// start JS env
|
||||
js_env.start();
|
||||
js_env.start(apis);
|
||||
defer js_env.stop();
|
||||
|
||||
// add document object
|
||||
|
||||
Reference in New Issue
Block a user