From 20513f214af2153c9f589ff5cb5da6148c84a31b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Rivi=C3=A8re?= Date: Wed, 2 Oct 2024 17:43:19 +0200 Subject: [PATCH] #2169 has introduced an error when building the documentation site; this routes around it. I haven't seen a difference in the public-facing result. (I had mentioned the potential issue here but not seen where it would happen https://github.com/observablehq/plot/pull/2169#discussion_r1755497591) --- docs/components/PlotRender.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/components/PlotRender.js b/docs/components/PlotRender.js index 52cfa420f2..bb058759e1 100644 --- a/docs/components/PlotRender.js +++ b/docs/components/PlotRender.js @@ -1,9 +1,12 @@ import * as Plot from "@observablehq/plot"; import {h, withDirectives} from "vue"; +class Event {} + class Document { constructor() { this.documentElement = new Element(this, "html"); + this.defaultView = {Event}; } createElementNS(namespace, tagName) { return new Element(this, tagName);