16 lines
609 B
JavaScript
16 lines
609 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/fvtt-never-stop-blowing-up/templates/actor/parts/actor-features.html",
|
|
"systems/fvtt-never-stop-blowing-up/templates/actor/parts/actor-adversity.html",
|
|
"systems/fvtt-never-stop-blowing-up/templates/actor/parts/actor-stats.html",
|
|
"systems/fvtt-never-stop-blowing-up/templates/actor/parts/actor-npc-stats.html",
|
|
]);
|
|
};
|