Skip to content

Commit 20513f2

Browse files
committed
#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 #2169 (comment))
1 parent 12ecfa7 commit 20513f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/components/PlotRender.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
import * as Plot from "@observablehq/plot";
22
import {h, withDirectives} from "vue";
33

4+
class Event {}
5+
46
class Document {
57
constructor() {
68
this.documentElement = new Element(this, "html");
9+
this.defaultView = {Event};
710
}
811
createElementNS(namespace, tagName) {
912
return new Element(this, tagName);

0 commit comments

Comments
 (0)