25 lines
1.0 KiB
JavaScript
25 lines
1.0 KiB
JavaScript
function loadPartials(hbs) {
|
|
|
|
return new Promise(resolve => {
|
|
hbs.loadTemplates([
|
|
// ui partials.
|
|
'systems/DSA_4-1/templates/ui/partial-rollable-button.hbs',
|
|
'systems/DSA_4-1/templates/ui/partial-rollable-weaponskill-button.hbs',
|
|
'systems/DSA_4-1/templates/ui/partial-rollable-language-button.hbs',
|
|
'systems/DSA_4-1/templates/ui/partial-attribute-button.hbs',
|
|
'systems/DSA_4-1/templates/ui/partial-talent-editable.hbs',
|
|
'systems/DSA_4-1/templates/ui/partial-die.hbs',
|
|
'systems/DSA_4-1/templates/ui/partial-advantage-button.hbs',
|
|
'systems/DSA_4-1/templates/ui/partial-sf-button.hbs',
|
|
'systems/DSA_4-1/templates/ui/partial-action-button.hbs',
|
|
'systems/DSA_4-1/templates/ui/partial-equipment-button.hbs',
|
|
'systems/DSA_4-1/templates/ui/partial-array-editor.hbs',
|
|
'systems/DSA_4-1/templates/dialog/liturgy-dialog.hbs'
|
|
]).then(resolve);
|
|
})
|
|
|
|
}
|
|
|
|
export {
|
|
loadPartials,
|
|
} |