clean: remove useless wait for webComponentReady

This commit is contained in:
jblemee 2019-01-08 11:14:15 +01:00
parent b5e962e865
commit f2781220df

View File

@ -128,14 +128,11 @@ class HDAppLinkMore extends SIBWidget {
} }
} }
document.addEventListener('WebComponentsReady', function(event) { customElements.define('hdapp-userinfo', HDAppUserInfo);
customElements.define('hdapp-mail', HDAppMail);
customElements.define('hdapp-userinfo', HDAppUserInfo); customElements.define('hdapp-member', HDAppMember);
customElements.define('hdapp-mail', HDAppMail); customElements.define('hdapp-author', HDAppAuthor);
customElements.define('hdapp-member', HDAppMember); customElements.define('hdapp-closing-date', HDAppClosingDate);
customElements.define('hdapp-author', HDAppAuthor); customElements.define('hdapp-available', HDAppAvailable);
customElements.define('hdapp-closing-date', HDAppClosingDate); customElements.define('hdapp-hyperlink', HDAppHyperlink);
customElements.define('hdapp-available', HDAppAvailable); customElements.define('hdapp-link-more', HDAppLinkMore);
customElements.define('hdapp-hyperlink', HDAppHyperlink);
customElements.define('hdapp-link-more', HDAppLinkMore);
});