mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-28 22:53:28 +00:00
Update to jsruntime engine interface (fix)
I forgot to update main and main_shell in previous commit. Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
This commit is contained in:
@@ -19,7 +19,7 @@ fn execJS(
|
||||
) !void {
|
||||
|
||||
// start JS env
|
||||
js_env.start();
|
||||
js_env.start(apis);
|
||||
defer js_env.stop();
|
||||
|
||||
// add document object
|
||||
|
||||
@@ -16,7 +16,7 @@ fn execJS(
|
||||
) !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