boilerplate

This commit is contained in:
François-Xavier Guillois
2023-04-19 17:10:01 +02:00
parent 479024b536
commit fa8e32f4dd
46 changed files with 11418 additions and 80 deletions
+15
View File
@@ -0,0 +1,15 @@
/**
* Define a set of template paths to pre-load
* Pre-loaded templates are compiled and cached for fast access when rendering
* @return {Promise}
*/
export const preloadHandlebarsTemplates = async function() {
return loadTemplates([
// Actor partials.
"systems/totem/templates/actor/parts/actor-features.html",
"systems/totem/templates/actor/parts/actor-items.html",
"systems/totem/templates/actor/parts/actor-spells.html",
"systems/totem/templates/actor/parts/actor-effects.html",
]);
};