mirror of
https://github.com/migatu/vtt_work.git
synced 2026-07-14 21:38:39 +00:00
1
This commit is contained in:
@@ -1 +1,13 @@
|
||||
Hooks.once('ready',()=>console.warn('wg-voidships-builder: helper script not provided, using stub'));
|
||||
Hooks.once('init', () => {
|
||||
try {
|
||||
if (typeof Handlebars?.registerHelper === "function") {
|
||||
Handlebars.registerHelper("json", (ctx) => JSON.stringify(ctx ?? {}, null, 2));
|
||||
}
|
||||
} catch (e) {
|
||||
console.warn("wg-voidships-builder: handlebars helper failed", e);
|
||||
}
|
||||
});
|
||||
|
||||
Hooks.once('ready', () => {
|
||||
console.warn('wg-voidships-builder: builder UI not yet active (stub)');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user