forked from public/foundryvtt-reve-de-dragon
utilisation de renderTemplate "interne"
Import de foundry.applications.handlebars.renderTemplate au travers d'une constante pour éliminer les warnings
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { renderTemplate } from "../constants.js";
|
||||
|
||||
export class DialogChateauDormant extends Dialog {
|
||||
|
||||
@@ -9,7 +10,7 @@ export class DialogChateauDormant extends Dialog {
|
||||
motifStress: `Nuit du ${date}`,
|
||||
finChateauDormant: game.system.rdd.calendrier.getTimestampFinChateauDormant()
|
||||
};
|
||||
const html = await foundry.applications.handlebars.renderTemplate("systems/foundryvtt-reve-de-dragon/templates/sommeil/dialog-chateau-dormant.hbs",
|
||||
const html = await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/sommeil/dialog-chateau-dormant.hbs",
|
||||
dialogData);
|
||||
|
||||
new DialogChateauDormant(dialogData, html)
|
||||
|
@@ -1,3 +1,4 @@
|
||||
import { renderTemplate } from "../constants.js";
|
||||
import { ReglesOptionnelles } from "../settings/regles-optionnelles.js";
|
||||
import { EffetsDraconiques } from "../tmr/effets-draconiques.js";
|
||||
|
||||
|
@@ -1,3 +1,4 @@
|
||||
import { renderTemplate } from "../constants.js";
|
||||
|
||||
export class DialogStress extends Dialog {
|
||||
|
||||
|
Reference in New Issue
Block a user