Start working on the Stats Viewer application
This commit is contained in:
parent
cb3bc7c86c
commit
91863d85a8
18 changed files with 422 additions and 1 deletions
18
module/api.mjs
Normal file
18
module/api.mjs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import { StatsViewer } from "./Apps/StatsViewer.mjs";
|
||||
import { TestApp } from "./Apps/TestApp.mjs";
|
||||
|
||||
const { deepFreeze } = foundry.utils;
|
||||
|
||||
Object.defineProperty(
|
||||
globalThis,
|
||||
`stats`,
|
||||
{
|
||||
value: deepFreeze({
|
||||
Apps: {
|
||||
TestApp,
|
||||
StatsViewer,
|
||||
},
|
||||
}),
|
||||
writable: false,
|
||||
},
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue