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:
Francis Bouvier
2023-09-01 15:55:58 +02:00
parent fa0b8b8671
commit e6183bf300
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ fn execJS(
) !void {
// start JS env
js_env.start();
js_env.start(apis);
defer js_env.stop();
// add document object

View File

@@ -16,7 +16,7 @@ fn execJS(
) !void {
// start JS env
js_env.start();
js_env.start(apis);
defer js_env.stop();
// add document object