Stability improvements

This commit is contained in:
Thomas Lovén 2019-06-09 20:28:18 +02:00
parent c84ea8e09c
commit ea12cc6629
3 changed files with 76 additions and 73 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
card-mod.js binary

File diff suppressed because one or more lines are too long

View File

@ -2,6 +2,7 @@ import {html, css} from "/card-tools/lit-element.js";
import {fireEvent} from "/card-tools/event.js"; import {fireEvent} from "/card-tools/event.js";
import {parseTemplate} from "/card-tools/templates.js"; import {parseTemplate} from "/card-tools/templates.js";
customElements.whenDefined('ha-card').then(() => {
const HaCard = customElements.get('ha-card'); const HaCard = customElements.get('ha-card');
const findConfig = function(node) { const findConfig = function(node) {
@ -80,3 +81,4 @@ Object.defineProperty(HaCard.prototype, 'hass', {
}); });
fireEvent('ll-rebuild', {}); fireEvent('ll-rebuild', {});
});