You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "js/ck_animate.ml", line 40, characters 9-47:
Error: This expression has type
(float -> unit) Js_of_ocaml__.Js.callback ->
Dom_html.animation_frame_request_id Js.meth
but an expression was expected of type 'a Js.meth
make: *** [Makefile:14: client-test] Error 1
Deprecated function.
val _requestAnimationFrame : (unit -> unit) [Js.callback]
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!
The text was updated successfully, but these errors were encountered:
You 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!
The text was updated successfully, but these errors were encountered: