16 lines
553 B
JavaScript
16 lines
553 B
JavaScript
/**
|
|
* 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/kidsonbrooms/templates/actor/parts/actor-features.html",
|
|
"systems/kidsonbrooms/templates/actor/parts/actor-adversity.html",
|
|
"systems/kidsonbrooms/templates/actor/parts/actor-stats.html",
|
|
"systems/kidsonbrooms/templates/actor/parts/actor-npc-stats.html",
|
|
]);
|
|
};
|