소스 검색

Removes unnecessary source code

master
Lyubo Marinov 7 년 전
부모
커밋
7fe421aeba

+ 0
- 11
react/features/always-on-top/HangupButton.js 파일 보기

20
         api.executeCommand('hangup');
20
         api.executeCommand('hangup');
21
         window.close();
21
         window.close();
22
     }
22
     }
23
-
24
-    /**
25
-     * Indicates whether this button is disabled or not.
26
-     *
27
-     * @override
28
-     * @private
29
-     * @returns {boolean}
30
-     */
31
-    _isDisabled() {
32
-        return false;
33
-    }
34
 }
23
 }

+ 0
- 11
react/features/invite/components/InviteButton.native.js 파일 보기

75
         }
75
         }
76
     }
76
     }
77
 
77
 
78
-    /**
79
-     * Indicates whether this button is disabled or not.
80
-     *
81
-     * @override
82
-     * @private
83
-     * @returns {boolean}
84
-     */
85
-    _isDisabled() {
86
-        return false;
87
-    }
88
-
89
     /**
78
     /**
90
      * Implements React's {@link Component#render()}.
79
      * Implements React's {@link Component#render()}.
91
      *
80
      *

+ 0
- 11
react/features/mobile/audio-mode/components/AudioRouteButton.js 파일 보기

86
         }
86
         }
87
     }
87
     }
88
 
88
 
89
-    /**
90
-     * Indicates whether this button is disabled or not.
91
-     *
92
-     * @override
93
-     * @private
94
-     * @returns {boolean}
95
-     */
96
-    _isDisabled() {
97
-        return false;
98
-    }
99
-
100
     _setVolumeComponent: (?Object) => void;
89
     _setVolumeComponent: (?Object) => void;
101
 
90
 
102
     /**
91
     /**

+ 0
- 11
react/features/mobile/picture-in-picture/components/PictureInPictureButton.js 파일 보기

40
         this.props.dispatch(enterPictureInPicture());
40
         this.props.dispatch(enterPictureInPicture());
41
     }
41
     }
42
 
42
 
43
-    /**
44
-     * Indicates whether this button is disabled or not.
45
-     *
46
-     * @override
47
-     * @private
48
-     * @returns {boolean}
49
-     */
50
-    _isDisabled() {
51
-        return false;
52
-    }
53
-
54
     /**
43
     /**
55
      * Implements React's {@link Component#render()}.
44
      * Implements React's {@link Component#render()}.
56
      *
45
      *

+ 0
- 11
react/features/settings/components/web/SettingsButton.js 파일 보기

55
             dispatch(toggleSettings());
55
             dispatch(toggleSettings());
56
         }
56
         }
57
     }
57
     }
58
-
59
-    /**
60
-     * Indicates whether this button is disabled or not.
61
-     *
62
-     * @override
63
-     * @private
64
-     * @returns {boolean}
65
-     */
66
-    _isDisabled() {
67
-        return false;
68
-    }
69
 }
58
 }
70
 
59
 
71
 /**
60
 /**

+ 0
- 12
react/features/toolbox/components/AudioMuteButton.js 파일 보기

35
     label = 'toolbar.mute';
35
     label = 'toolbar.mute';
36
     tooltip = 'toolbar.mute';
36
     tooltip = 'toolbar.mute';
37
 
37
 
38
-    /**
39
-     * Indicates if this button should be disabled or not.
40
-     *
41
-     * @override
42
-     * @private
43
-     * @returns {boolean}
44
-     */
45
-    _isDisabled() {
46
-        return false;
47
-    }
48
-
49
     /**
38
     /**
50
      * Indicates if audio is currently muted ot nor.
39
      * Indicates if audio is currently muted ot nor.
51
      *
40
      *
68
         sendAnalytics(createToolbarEvent(AUDIO_MUTE, { enable: audioMuted }));
57
         sendAnalytics(createToolbarEvent(AUDIO_MUTE, { enable: audioMuted }));
69
         this.props.dispatch(setAudioMuted(audioMuted));
58
         this.props.dispatch(setAudioMuted(audioMuted));
70
     }
59
     }
71
-
72
 }
60
 }
73
 
61
 
74
 /**
62
 /**

+ 0
- 11
react/features/toolbox/components/HangupButton.js 파일 보기

44
             this.props.dispatch(disconnect(true));
44
             this.props.dispatch(disconnect(true));
45
         }
45
         }
46
     }
46
     }
47
-
48
-    /**
49
-     * Indicates if this button should be disabled or not.
50
-     *
51
-     * @override
52
-     * @private
53
-     * @returns {boolean}
54
-     */
55
-    _isDisabled() {
56
-        return false;
57
-    }
58
 }
47
 }
59
 
48
 
60
 export default translate(connect()(HangupButton));
49
 export default translate(connect()(HangupButton));

+ 0
- 1
react/features/toolbox/components/VideoMuteButton.js 파일 보기

81
                 VIDEO_MUTISM_AUTHORITY.USER,
81
                 VIDEO_MUTISM_AUTHORITY.USER,
82
                 /* ensureTrack */ true));
82
                 /* ensureTrack */ true));
83
     }
83
     }
84
-
85
 }
84
 }
86
 
85
 
87
 /**
86
 /**

+ 0
- 11
react/features/toolbox/components/native/AudioOnlyButton.js 파일 보기

39
         this.props.dispatch(toggleAudioOnly());
39
         this.props.dispatch(toggleAudioOnly());
40
     }
40
     }
41
 
41
 
42
-    /**
43
-     * Indicates whether this button is disabled or not.
44
-     *
45
-     * @override
46
-     * @private
47
-     * @returns {boolean}
48
-     */
49
-    _isDisabled() {
50
-        return false;
51
-    }
52
-
53
     /**
42
     /**
54
      * Indicates whether this button is in toggled state or not.
43
      * Indicates whether this button is in toggled state or not.
55
      *
44
      *

Loading…
취소
저장