From d45699189ecafe30500fd7770a45b5043077f58b Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Mon, 7 Feb 2022 20:08:49 +0100 Subject: visualizer: let window.global be handled by polyfill --- web/pw-visualizer/src/index.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/web/pw-visualizer/src/index.ts b/web/pw-visualizer/src/index.ts index df2c3c2..cd58aa7 100644 --- a/web/pw-visualizer/src/index.ts +++ b/web/pw-visualizer/src/index.ts @@ -29,10 +29,6 @@ import { defaultLabelFactory, LabelFactory, Align, Label } from "./webgl/text"; import { VoronoiBuilder } from "./voronoi/voronoi"; import * as assets from "./assets"; -// svg-mesh requires global to exist -(window as any).global = window; - - function to_bbox(box: number[]): BBox { return { -- cgit v1.2.3