diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-02-07 20:08:49 +0100 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-02-07 20:08:49 +0100 |
commit | d45699189ecafe30500fd7770a45b5043077f58b (patch) | |
tree | c51f852048e2540672c1aa517e1be3913ed8f4a7 /web/pw-visualizer | |
parent | c1feeaa7e6dbacff2911d075d2ca7bab88985886 (diff) | |
download | planetwars.dev-d45699189ecafe30500fd7770a45b5043077f58b.tar.xz planetwars.dev-d45699189ecafe30500fd7770a45b5043077f58b.zip |
visualizer: let window.global be handled by polyfill
Diffstat (limited to 'web/pw-visualizer')
-rw-r--r-- | web/pw-visualizer/src/index.ts | 4 |
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 { |