This repository has been archived on 2026-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
vtt_sys_ravenous/module/templates.js

17 lines
519 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() {
// Define template paths to load
const templatePaths = [
// Attribute list partial.
"systems/vtt_sys_ravenous/templates/parts/sheet-attributes.html",
"systems/vtt_sys_ravenous/templates/parts/sheet-groups.html"
];
// Load the template parts
return loadTemplates(templatePaths);
};