Aaron Bohy
c16d7d52b1
[FIX] compiler: escape backticks in attributes
...
Before this commit, the generated code crashed if an attribute in
the template contained backticks. The compiler output something
like
```js
let block1 = createBlock(`<div foo="`bar`"/>`);
```
The backticks are now properly escaped.
2022-06-22 10:22:31 +02:00
Géry Debongnie
385e118e58
[FIX] compiler: add support for #{...} in string interpolation
2022-06-08 10:54:30 +02:00
Géry Debongnie
22a79cdedd
[REF] reorganize file structure
...
in order to separate compiler/ and runtime/ code
2022-05-31 14:00:01 +02: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
63fbcf99fd
[FIX] blockdom: ignore attributes with undefined value
2022-02-11 10:46:44 +01:00
Géry Debongnie
1700a6fba3
[REF] compiler: rename qweb/ into compiler/
2022-02-11 10:41:18 +01:00