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-cooldown.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/actor/character/tab-set.hbs',
            'systems/DSA_4-1/templates/dialog/liturgy-dialog.hbs',
            'systems/DSA_4-1/templates/ui/partial-mini-rollable-button.hbs',
            'systems/DSA_4-1/templates/ui/partial-mini-rollable-liturgy-button.hbs',
            'systems/DSA_4-1/templates/ui/partial-mini-rollable-weaponskill-button.hbs',
            'systems/DSA_4-1/templates/ui/partial-mini-rollable-language-button.hbs',
            'systems/DSA_4-1/templates/ui/partial-mini-rollable-spell-button.hbs',
        ]).then(resolve);
    })

}

export {
    loadPartials,
}