visualizer: let window.global be handled by polyfill
This commit is contained in:
parent
c1feeaa7e6
commit
d45699189e
1 changed files with 0 additions and 4 deletions
|
@ -29,10 +29,6 @@ import { defaultLabelFactory, LabelFactory, Align, Label } from "./webgl/text";
|
||||||
import { VoronoiBuilder } from "./voronoi/voronoi";
|
import { VoronoiBuilder } from "./voronoi/voronoi";
|
||||||
import * as assets from "./assets";
|
import * as assets from "./assets";
|
||||||
|
|
||||||
// svg-mesh requires global to exist
|
|
||||||
(window as any).global = window;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function to_bbox(box: number[]): BBox {
|
function to_bbox(box: number[]): BBox {
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in a new issue