[DOC] add some information on variables and t-call

closes #540
This commit is contained in:
Géry Debongnie
2019-12-05 21:45:47 +01:00
parent ecfccf2448
commit f5b3ef5cf3
4 changed files with 24 additions and 16 deletions
+1 -1
View File
@@ -650,7 +650,7 @@ export class QWeb extends EventBus {
if (!name.startsWith("t-") && !(<Element>node).getAttribute("t-attf-" + name)) {
const attID = ctx.generateID();
if (name === "class") {
if (value = value.trim()) {
if ((value = value.trim())) {
let classDef = value
.split(/\s+/)
.map(a => `'${a}':true`)