ylemoigne
03/12/2019, 2:57 PMwindow.customElements.define('app-drawer', class extends HTMLElement {}) in kolin. I've tried window.customElements.define("app-drawer", { js("class extends HTMLElement {}")}), but it seems that the compiler try to analyse the js("...") content and don't understand the declaration.Roman Artemev [JB]
03/12/2019, 5:37 PMjs("...") function takes only ES5 code when class extends is ES6 syntaxRoman Artemev [JB]
03/12/2019, 5:38 PMwindow.customElements.define("app-drawer", object: HTMLElement() {
...
})ylemoigne
03/12/2019, 6:00 PMjs("...")) ?Roman Artemev [JB]
03/12/2019, 6:08 PMjs() is inlined into resulted js code it also should be ES5. We are now working hard to support different ES versions.ylemoigne
03/12/2019, 6:10 PMRoman Artemev [JB]
03/12/2019, 6:11 PM