Open coldlapy opened 1 week ago
Looking at https://developer.mozilla.org/en-US/docs/Web/API/Window/requestAnimationFrame it seems that:
aux
now gets a timestamp (float)requestAnimationFrame
now returns an IDYou probably want something like let rec aux ts = ...
and ignore (Dom_html.window##requestAnimationFrame (Js.wrap_callback aux) : Dom_html.animation_frame_request_id)
.
An error occurred while executing make client
I checked the Dom_html description of Js_of_ocaml,
So I modified it like this
But it still reports an error
Deprecated function.
It seems that there is a type mismatch. After learning some ocaml, I found that it is not so easy to modify, so I had to come here to ask for advice. thanks!