mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-15 13:26:34 +00:00
Don't use custom element constructor (#658)
This commit is contained in:
parent
e5974ab71b
commit
0b9e7d5fa2
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user