Results 508 comments of hhugo

I think the updated link is https://package.elm-lang.org/packages/elm-explorations/webgl/latest

Well, it seems there is indeed a syntax error. Why do you have trailing comma `_fontName /*: string */,` ?

The JavaScript parser inside js_of_ocaml didn't keep up with recent version of ecmascript. One could update the parser. PR welcome.

ResizeObserver is now included as part of https://github.com/ocsigen/js_of_ocaml/pull/867

no. I don't have time to work on this now. What's your use case ?

One way would be to rely on some external javascript parser (https://github.com/facebook/flow ?)

How are WeakSet and WeakMap related to this issue ? My understanding is that one can already use them to write bindings.

I'm fact, they are already used in the jsoo runtime. See https://github.com/ocsigen/js_of_ocaml/blob/09d5731241917577e9c16b6a0063c23baae00df8/runtime/marshal.js#L435