aboutsummaryrefslogtreecommitdiff
path: root/web/pw-visualizer/src
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-02-07 20:08:49 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2022-02-07 20:08:49 +0100
commitd45699189ecafe30500fd7770a45b5043077f58b (patch)
treec51f852048e2540672c1aa517e1be3913ed8f4a7 /web/pw-visualizer/src
parentc1feeaa7e6dbacff2911d075d2ca7bab88985886 (diff)
downloadplanetwars.dev-d45699189ecafe30500fd7770a45b5043077f58b.tar.xz
planetwars.dev-d45699189ecafe30500fd7770a45b5043077f58b.zip
visualizer: let window.global be handled by polyfill
Diffstat (limited to 'web/pw-visualizer/src')
-rw-r--r--web/pw-visualizer/src/index.ts4
1 files changed, 0 insertions, 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 {