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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user