visualizer: let window.global be handled by polyfill

This commit is contained in:
Ilion Beyst 2022-02-07 20:08:49 +01:00
parent c1feeaa7e6
commit d45699189e

View file

@ -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 {