1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-24 20:55:49 +00:00

Don't use custom element constructor (#658)

This commit is contained in:
Paulus Schoutsen
2017-11-20 20:44:58 -08:00
committed by GitHub
parent e5974ab71b
commit 0b9e7d5fa2
2 changed files with 4 additions and 4 deletions

View File

@@ -165,8 +165,8 @@ class HaAutomationEditor extends window.hassMixins.EventsMixin(Polymer.Element)
};
}
constructor() {
super();
ready() {
super.ready();
this.configChanged = this.configChanged.bind(this);
this._rendered = null;
}

View File

@@ -164,8 +164,8 @@ class HaScriptEditor extends window.hassMixins.EventsMixin(Polymer.Element) {
};
}
constructor() {
super();
ready() {
super.ready();
this.configChanged = this.configChanged.bind(this);
this._rendered = null;
}