[FIX] compiler: multiple modifiers on t-custom

Since [1] it's possible to have a custom directive, this directive only
supported one modifier. This commit, add the support to have multiple
modifiers on a t-custom directive.

[1] : https://github.com/odoo/owl/commit/7e687234bf40bdcf5e6598401d8604d66b14ad32
This commit is contained in:
Jorge Pinna Puissant
2024-11-25 15:27:27 +01:00
committed by Géry Debongnie
parent e6768501cd
commit 7fc552e2f8
4 changed files with 11 additions and 9 deletions
@@ -14,7 +14,7 @@ exports[`t-custom can use t-custom directive on a node 1`] = `
}"
`;
exports[`t-custom can use t-custom directive with modifier on a node 1`] = `
exports[`t-custom can use t-custom directive with modifiers on a node 1`] = `
"function anonymous(app, bdom, helpers
) {
let { text, createBlock, list, multi, html, toggler, comment } = bdom;