[IMP] owl: update to last version

This commit is contained in:
Géry Debongnie
2019-10-01 21:38:29 +02:00
parent b4eccb5149
commit 599492fa4b
4 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -4268,7 +4268,7 @@
exports.utils = utils; exports.utils = utils;
exports.__info__.version = '0.22.0'; exports.__info__.version = '0.22.0';
exports.__info__.date = '2019-10-01T19:05:23.486Z'; exports.__info__.date = '2019-10-01T19:32:47.287Z';
exports.__info__.hash = 'b859fcb'; exports.__info__.hash = 'b859fcb';
exports.__info__.url = 'https://github.com/odoo/owl'; exports.__info__.url = 'https://github.com/odoo/owl';
+3 -1
View File
@@ -173,8 +173,10 @@ body {
} }
.right-pane .note { .right-pane .note {
font-size: 20px; font-size: 18px;
text-align: left;
margin-top: 20px; margin-top: 20px;
padding: 5%;
} }
.right-pane .error { .right-pane .error {
+1 -1
View File
@@ -5,7 +5,7 @@ class Greeter extends Component {
state = useState({ word: 'Hello' }); state = useState({ word: 'Hello' });
toggle() { toggle() {
this.state.word = this.state.word === 'Hi' ? 'Hello' : 'Hi' this.state.word = this.state.word === 'Hi' ? 'Hello' : 'Hi';
} }
} }
+5 -1
View File
@@ -45,7 +45,11 @@
<div>🦉 Odoo Web Library 🦉</div> <div>🦉 Odoo Web Library 🦉</div>
<div>v<t t-esc="version"/></div> <div>v<t t-esc="version"/></div>
<div class="url"><a href="https://github.com/odoo/owl">https://github.com/odoo/owl</a></div> <div class="url"><a href="https://github.com/odoo/owl">https://github.com/odoo/owl</a></div>
<div class="note">Note: these examples require a recent browser to work without a transpilation step. </div> <div class="note">
<p>Note: these examples are using recent features of Javascript, and require a recent browser to work without a transpilation step!
For example, it makes use of class fields and class static fields. These examples should work in a recent Chrome version.
</p>
</div>
</div> </div>
<div t-if="state.error" class="error"> <div t-if="state.error" class="error">
<h3>Error</h3> <h3>Error</h3>