High visibility log message, perhaps.

This commit is contained in:
2019-01-22 14:57:17 +01:00
parent 8863c652e2
commit 148cc93376
2 changed files with 5 additions and 1 deletions

View File

@@ -66,3 +66,7 @@ class CardModder extends window.cardTools.LitElement {
customElements.define('card-modder', CardModder);
});
window.setTimeout(() => {
if(!customElements.get('card-tools'))
console.info("%cCARD-TOOLS NOT FOUND\nSee https://github.com/thomasloven/lovelace-card-tools", "color: red; font-weight: bold");
}, 2000);