refactor(es modules): continue migration

This commit is contained in:
Azgaar 2022-06-25 18:03:38 +03:00
parent 030caec6e8
commit a929667796
16 changed files with 30 additions and 16 deletions

View file

@ -1,4 +1,5 @@
import {findAll, findCell, getPackPolygon, isLand} from "/src/utils/graphUtils";
import {byId} from "/src/utils/shorthands";
const $body = insertEditorHtml();
addListeners();

View file

@ -1,4 +1,5 @@
import {findAll, findCell, getPackPolygon, isLand} from "/src/utils/graphUtils";
import {byId} from "/src/utils/shorthands";
const $body = insertEditorHtml();
addListeners();

View file

@ -1,4 +1,5 @@
import {findAll, findCell, getPackPolygon, isLand} from "/src/utils/graphUtils";
import {byId} from "/src/utils/shorthands";
const $body = insertEditorHtml();
addListeners();

View file

@ -1,4 +1,5 @@
import {shouldRegenerateGrid, generateGrid} from "/src/utils/graphUtils";
import {byId} from "/src/utils/shorthands";
const initialSeed = generateSeed();
let graph = getGraph(grid);

View file

@ -1,3 +1,5 @@
import {byId} from "/src/utils/shorthands";
appendStyleSheet();
insertHtml();

View file

@ -1,5 +1,6 @@
import {rollups} from "../../../utils/functionUtils.js";
import {isWater} from "/src/utils/graphUtils";
import {byId} from "/src/utils/shorthands";
const entitiesMap = {
states: {