mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-16 22:06: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() {
|
ready() {
|
||||||
super();
|
super.ready();
|
||||||
this.configChanged = this.configChanged.bind(this);
|
this.configChanged = this.configChanged.bind(this);
|
||||||
this._rendered = null;
|
this._rendered = null;
|
||||||
}
|
}
|
||||||
|
@ -164,8 +164,8 @@ class HaScriptEditor extends window.hassMixins.EventsMixin(Polymer.Element) {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
constructor() {
|
ready() {
|
||||||
super();
|
super.ready();
|
||||||
this.configChanged = this.configChanged.bind(this);
|
this.configChanged = this.configChanged.bind(this);
|
||||||
this._rendered = null;
|
this._rendered = null;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user