File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,14 +50,6 @@ export class Button extends LitElement {
5050 }
5151 }
5252
53- protected _upgradeProperty ( prop : keyof this) {
54- if ( this . hasOwnProperty ( prop ) ) {
55- let value = this [ prop ] ;
56- delete this [ prop ] ;
57- this [ prop ] = value ;
58- }
59- }
60-
6153 connectedCallback ( ) : void {
6254 super . connectedCallback ( ) ;
6355
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ export class ChromecastButton extends CastButton {
2323
2424 constructor ( ) {
2525 super ( ) ;
26- this . _upgradeProperty ( 'player' ) ;
2726 }
2827
2928 override connectedCallback ( ) {
Original file line number Diff line number Diff line change @@ -34,15 +34,6 @@ export class RadioGroup extends LitElement {
3434
3535 constructor ( ) {
3636 super ( ) ;
37- this . _upgradeProperty ( 'deviceType' ) ;
38- }
39-
40- protected _upgradeProperty ( prop : keyof this) {
41- if ( this . hasOwnProperty ( prop ) ) {
42- let value = this [ prop ] ;
43- delete this [ prop ] ;
44- this [ prop ] = value ;
45- }
4637 }
4738
4839 connectedCallback ( ) : void {
You can’t perform that action at this time.
0 commit comments