My aggregated monorepo of OCaml code, automaintained
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix notebook: use Js.Unsafe for importScripts (no PPX in toplevel cells)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+3 -2
+3 -2
site/notebooks/interactive_map.mld
··· 21 21 (* Load TensorFlow.js in the worker *) 22 22 let () = 23 23 let open Js_of_ocaml in 24 - Js.Unsafe.global##importScripts 25 - (Js.string "https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@4/dist/tf.min.js") 24 + Js.Unsafe.fun_call 25 + (Js.Unsafe.get Js.Unsafe.global (Js.string "importScripts")) 26 + [| Js.Unsafe.inject (Js.string "https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@4/dist/tf.min.js") |] 26 27 ]} 27 28 28 29 {1 Select region of interest}