Skip to content

Commit

Permalink
Work around for change in js_of_ocaml 5.9.0
Browse files Browse the repository at this point in the history
`js_of_ocaml` 5.9.0 started using `node:` prefixed modules, which do not exist
on old node versions.
  • Loading branch information
polytypic committed Nov 28, 2024
1 parent 6ccc15b commit e3346f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_js_of_ocaml.ml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
open Picos

let () =
Printf.printf "Hello, from js_of_ocaml with Picos!\n%!";
let trigger = Trigger.create () in
Trigger.signal trigger
Trigger.signal trigger;
match Trigger.await trigger with None -> () | Some _ -> assert false

0 comments on commit e3346f1

Please sign in to comment.