mirror of
https://github.com/RoY7x/worldbuilding.git
synced 2025-04-30 02:31:41 -04:00
- Added support for attribute groups - Added rollable buttons to formula attributes - Added additional i18n translation strings
17 lines
No EOL
513 B
JavaScript
17 lines
No EOL
513 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/worldbuilding/templates/parts/sheet-attributes.html",
|
|
"systems/worldbuilding/templates/parts/sheet-groups.html"
|
|
];
|
|
|
|
// Load the template parts
|
|
return loadTemplates(templatePaths);
|
|
}; |