Results 508 comments of hhugo

reuse css from https://github.com/b0-system/odig/tree/master/themes ?

What would you expect the following to do ? ```ocaml let f x = object%js (self) val z = x [@@jsoo.optdef] end ```

I'm not against the idea. What do you expect the generated javascript to be. Creating an empty object and and have a bunch of if-then to set fields if not...

Alternatively, you can use `Sys.time ()` directly.

It returns seconds instead of milliseconds

> I 'm compiling a fairly large set of mutually recursive functions (~1k lines). The resulting javascript is a large (~3k lines) function. I'm running into stack overflows, although the...

just curious, have you tried disabling inlining ? (with `--disable=inline`)

what "usual trick" are you talking about ?

There is a way to attach js stacktraces to ocaml exceptions. It would not work for stackoverflow yet though. I'll try to come back with an example soon.

Spread support was added in https://github.com/ocsigen/js_of_ocaml/pull/937 for applications. One we need to do similar changes for rest parameters.