[IMP] update to last version

This commit is contained in:
Géry Debongnie
2019-06-18 15:03:22 +02:00
parent dc3a7a11e4
commit d746e01926
3 changed files with 31 additions and 24 deletions
+10 -3
View File
@@ -1297,6 +1297,13 @@
}
return;
}
const firstLetter = node.tagName[0];
if (firstLetter === firstLetter.toUpperCase()) {
// this is a component, we modify in place the xml document to change
// <SomeComponent ... /> to <t t-widget="SomeComponent" ... />
node.setAttribute('t-widget', node.tagName);
node.nodeValue = 't';
}
const attributes = node.attributes;
const validDirectives = [];
let withHandlers = false;
@@ -2711,7 +2718,7 @@
* explanation of the code generated by the t-widget directive for the following
* situation:
* ```xml
* <t t-widget="child"
* <Child
* t-key="'somestring'"
* flag="state.flag"
* t-transition="fade"/>
@@ -3490,8 +3497,8 @@
exports.utils = utils;
exports.__info__.version = '0.15.0';
exports.__info__.date = '2019-06-17T13:59:39.059Z';
exports.__info__.hash = '609c108';
exports.__info__.date = '2019-06-18T13:03:02.358Z';
exports.__info__.hash = 'a7cd007';
exports.__info__.url = 'https://github.com/odoo/owl';
}(this.owl = this.owl || {}));