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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}