High visibility log message, perhaps.

This commit is contained in:
Thomas Lovén 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);

View File

@ -203,6 +203,6 @@ if (!window.cardTools){
};
window.cardTools = cardTools;
// cardTools.fireEvent("ll-rebuild");
customElements.define('card-tools', class {});
console.info("%cCARD-TOOLS IS INSTALLED", "color: green; font-weight: bold");
}