We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75e124b commit b9f8c5dCopy full SHA for b9f8c5d
jscomp/core/jsoo_main.ml
@@ -126,19 +126,11 @@ let implementation prefix impl str : Js.Unsafe.obj =
126
127
128
129
-let string_of_fmt (f : Format.formatter -> 'a -> unit) v =
130
- let buf = Buffer.create 37 in
131
- let fmt = Format.formatter_of_buffer buf in
132
- let () =
133
- f fmt v;
134
- Format.pp_print_flush fmt () in
135
- Buffer.contents buf
136
-
137
let compile impl : string -> Js.Unsafe.obj =
138
implementation false impl
139
(** TODO: add `[@@bs.config{no_export}]\n# 1 "repl.ml"`*)
140
let shake_compile impl : string -> Js.Unsafe.obj =
141
- implementation true impl
+ implementation true impl
142
143
144
0 commit comments