mirror of
https://github.com/migatu/vtt_work.git
synced 2026-07-14 13:34:42 +00:00
17 lines
482 B
JavaScript
17 lines
482 B
JavaScript
Hooks.once('init', async () => {
|
|
try {
|
|
if (typeof Handlebars?.registerHelper === "function") {
|
|
Handlebars.registerHelper("json", (ctx) => JSON.stringify(ctx ?? {}, null, 2));
|
|
}
|
|
await loadTemplates([
|
|
"modules/wg-voidships-builder/templates/voidship-sheet.hbs"
|
|
]);
|
|
} catch (e) {
|
|
console.warn("wg-voidships-builder: init failed", e);
|
|
}
|
|
});
|
|
|
|
Hooks.once('ready', () => {
|
|
console.warn('wg-voidships-builder: builder UI not yet active (stub)');
|
|
});
|