refactor: import d3

This commit is contained in:
Azgaar 2022-07-05 21:12:55 +03:00
parent 1847772d74
commit 98ae3292fc
83 changed files with 709 additions and 69 deletions

View file

@ -1,3 +1,5 @@
import * as d3 from "d3";
import {dragLegendBox} from "modules/legend";
import {debounce} from "utils/functionUtils";
import {findCell, findGridCell} from "utils/graphUtils";

View file

@ -1,3 +1,5 @@
import * as d3 from "d3";
import {ERROR, INFO, WARN} from "config/logging";
import {initLayers, renderLayer, restoreLayers} from "layers";
import {drawCoastline} from "modules/coastline";

View file

@ -1,3 +1,5 @@
import * as d3 from "d3";
import {ERROR, WARN} from "config/logging";
import {generateMapOnLoad} from "./generation";
import {loadMapFromURL} from "modules/io/load";

View file

@ -1,4 +1,5 @@
// @ts-nocheck global variables
import * as d3 from "d3";
import {TIME} from "config/logging";
import {normalize} from "utils/numberUtils";

View file

@ -1,4 +1,5 @@
// @ts-nocheck global variables
import * as d3 from "d3";
import {TIME} from "config/logging";
import {UINT16_MAX} from "constants";
import {createTypedArray} from "utils/arrayUtils";