mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +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 {
|
) !void {
|
||||||
|
|
||||||
// start JS env
|
// start JS env
|
||||||
js_env.start();
|
js_env.start(apis);
|
||||||
defer js_env.stop();
|
defer js_env.stop();
|
||||||
|
|
||||||
// add document object
|
// add document object
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ fn execJS(
|
|||||||
) !void {
|
) !void {
|
||||||
|
|
||||||
// start JS env
|
// start JS env
|
||||||
js_env.start();
|
js_env.start(apis);
|
||||||
defer js_env.stop();
|
defer js_env.stop();
|
||||||
|
|
||||||
// add document object
|
// add document object
|
||||||
|
|||||||
Reference in New Issue
Block a user