Introduce utils.mjs for misc constants and functions

Move some generic constants and functions, or supporting functions
to a new file.
This makes the main script smaller and makes it more focused on the
core functionality of the module.
This commit is contained in:
trotFunky 2025-06-11 17:56:54 +01:00
parent ecbef75db8
commit 30c0324799
3 changed files with 54 additions and 47 deletions

View file

@ -1,4 +1,4 @@
import {module_id} from "./mills_messages.mjs";
import { module_id } from "./utils.mjs";
export const module_settings = Object.freeze({
MessageDialogTitle: "messageDialogTitle",