[REM] component: remove support for css tag

This commit is contained in:
Géry Debongnie
2021-12-20 16:19:07 +01:00
committed by Aaron Bohy
parent 7e40fa300a
commit 416deeb865
22 changed files with 36 additions and 322 deletions
+12
View File
@@ -100,3 +100,15 @@ export class TemplateSet {
});
}
}
// -----------------------------------------------------------------------------
// xml tag helper
// -----------------------------------------------------------------------------
export function xml(...args: Parameters<typeof String.raw>) {
const name = `__template__${xml.nextId++}`;
const value = String.raw(...args);
globalTemplates[name] = value;
return name;
}
xml.nextId = 1;