fix WebComponentsReady

This commit is contained in:
Clément 2018-09-29 00:48:46 +02:00
parent 1c7e7f3e37
commit b74f4f9871
3 changed files with 51 additions and 57 deletions

View File

@ -1,6 +1,5 @@
script.
document.addEventListener('WebComponentsReady', function(event) {
document.addEventListener("HTMLImportsLoaded", function(event) {
class HDAppMember extends SIBWidget {
get template() {
return `
@ -19,7 +18,6 @@ script.
}
customElements.define("hdapp-member", HDAppMember);
});
});
#channel-profile(style='display: none')
sib-display(

View File

@ -1,6 +1,5 @@
script.
document.addEventListener('WebComponentsReady', function(event) {
document.addEventListener('HTMLImportsLoaded', function(event) {
class HDAppAuthor extends SIBDisplayLookupList {
get parentElement() {
return 'div';
@ -26,7 +25,6 @@ script.
}
customElements.define('hdapp-author', HDAppAuthor);
});
});
div
h1 Job offers

View File

@ -1,6 +1,5 @@
script.
document.addEventListener('WebComponentsReady', function(event) {
document.addEventListener("HTMLImportsLoaded", function(event) {
class HDAppClient extends SIBWidget {
get template() {
@ -16,7 +15,6 @@ script.
}
customElements.define("hdapp-client", HDAppClient);
});
});
#projects(style='display: none')
h1 Projects