mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
refactor: import d3
This commit is contained in:
parent
1847772d74
commit
98ae3292fc
83 changed files with 709 additions and 69 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
// @ts-nocheck global variables
|
||||
import * as d3 from "d3";
|
||||
|
||||
import {TIME} from "config/logging";
|
||||
import {normalize} from "utils/numberUtils";
|
||||
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue