Files
DeltaGreen/module/templates.js
T

12 lines
450 B
JavaScript

/**
* Define a set of template paths to pre-load
* Pre-loaded templates are compiled and cached for fast access when rendering
* NWE - I am not sure if there is actually much point to this
* @return {Promise}
*/
export const preloadHandlebarsTemplates = async function() {
return loadTemplates([
"systems/deltagreen/templates/actor/actor-sheet.html",
"systems/deltagreen/templates/dialog/modify-percentile-roll.html"
]);
};