Closed jamwalla closed 3 years ago
This was broken in https://github.com/observablehq/stdlib/pull/207. You can fix this by pinning the runtime version to 4.8.2 (the first broken version is 4.9.0).
import {
Runtime,
Inspector,
Library,
} from "https://cdn.jsdelivr.net/npm/@observablehq/runtime@4.8.2/dist/runtime.js";
That example is using an internal API that we inadvertently changed. I’ll see if we can push a patch that restores backwards compatibility, and update that example to use a public API.
Pinning to 4.8.2 did the trick. Thank you for the very quick fixes!
Describe the bug When embedding cells using the Runtime library, following the example for custom fluid width, the redefined
width
causes aRuntimeError: stdlib.Generators.observe is not a function
which is displayed on the embedded page instead of the chart.To Reproduce Steps to reproduce the behavior:
width
Expected behavior
chart
cell inherits parent width and resizes with the window.Screenshots