add support for text root nodes (and test suite cleanups)

This commit is contained in:
Géry Debongnie
2019-01-21 13:27:17 +01:00
parent e40c9ee4e5
commit a3bf470930
4 changed files with 320 additions and 211 deletions
+4
View File
@@ -11,6 +11,10 @@ const template = `
<t t-if="state.validcounter">
<t t-widget="Counter" t-ref="counter" t-props="{initialState:4}"/>
</t>
<t t-else="1">
<t t-widget="Counter" t-ref="counter" t-props="{initialState:7}"/>
</t>
<div ref="target"/>
</div>
`;