My aggregated monorepo of OCaml code, automaintained
0
fork

Configure Feed

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

Fix site notebooks: open Widget_leaflet for Leaflet_map access

Same fix as the widget-leaflet demo — the wrapped library requires
open Widget_leaflet to bring Leaflet_map into scope.

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

+4 -2
+2 -1
site/notebooks/interactive_map.mld
··· 17 17 #require "tessera-viz-jsoo";; 18 18 #require "tessera-tfjs";; 19 19 #require "js_top_worker-widget-leaflet";; 20 - Widget_leaflet.register ();; 20 + open Widget_leaflet;; 21 + register ();; 21 22 (* Load TensorFlow.js in the worker *) 22 23 let () = 23 24 let open Js_of_ocaml in
+2 -1
site/notebooks/interactive_map_zarr.mld
··· 13 13 #require "tessera-viz-jsoo";; 14 14 #require "tessera-tfjs";; 15 15 #require "js_top_worker-widget-leaflet";; 16 - Widget_leaflet.register ();; 16 + open Widget_leaflet;; 17 + register ();; 17 18 (* Load fzstd (Zstd decompressor) and TensorFlow.js *) 18 19 let () = 19 20 let open Js_of_ocaml in