Géry Debongnie
bf9cceb56f
[REF] components: remove .el
2022-02-11 10:46:44 +01:00
Géry Debongnie
7eaecac0b5
[REF] tests: improve test helpers
...
- remove snapshotApp
- remove addTemplates
- simplify helpers
- make sure snapshotted templates are snapshotted with the app config
2022-02-11 10:46:44 +01:00
Géry Debongnie
e91e50a812
[REF] compiler: simplify all compiled templates
2022-02-11 10:46:44 +01:00
Géry Debongnie
8a1ac13975
[IMP] add support for top level comments
2022-02-11 10:46:44 +01:00
Lucas Perais (lpe)
b902edc1be
[IMP] app, compiler: introduce t-out
...
t-out automatically escaped content when it is a string not marked
with the `markup` function
t-out renders the raw content if it is a Block, or if it has been marked
with the `markup` funtion.
t-esc has been kept since it is safe and is optimized to render text nodes.
all t-raw calls are in fact the same as t-out.
2022-02-11 10:41:18 +01:00
Samuel Degueldre
bca6afeb90
[IMP] qweb: turn handlers into function expressions only
...
For the sake of consistency with vanilla JS, and to allow some things
that were previously not possible.
2022-02-11 10:41:18 +01:00
Lucas Perais (lpe)
7c04cc425e
[IMP] qweb: compiler: support t-key on node and component without t-foreach
2022-02-11 10:41:18 +01:00