resolve lint warnings on modified files

This commit is contained in:
Anton Georgiev 2017-04-19 16:52:50 -04:00
parent 17fe4aa9b8
commit 40d0417b9d
10 changed files with 18 additions and 17 deletions

View File

@ -110,18 +110,18 @@ export default class SIPBridge extends BaseAudioBridge {
switch (audio.status) {
case 'failed':
let audioFailed = new CustomEvent('bbb.webrtc.failed', {
status: 'Failed' });
status: 'Failed', });
window.dispatchEvent(audioFailed);
break;
case 'mediafail':
let mediaFailed = new CustomEvent('bbb.webrtc.mediaFailed', {
status: 'MediaFailed' });
status: 'MediaFailed', });
window.dispatchEvent(mediaFailed);
break;
case 'mediasuccess':
case 'started':
let connected = new CustomEvent('bbb.webrtc.connected', {
status: 'started' });
status: 'started', });
window.dispatchEvent(connected);
break;
}

View File

@ -16,15 +16,15 @@ const intlMessages = defineMessages({
},
chatLabel: {
id: 'app.chat.Label',
description: 'Aria-label for Chat Section'
description: 'Aria-label for Chat Section',
},
mediaLabel: {
id: 'app.media.Label',
description: 'Aria-label for Media Section'
description: 'Aria-label for Media Section',
},
actionsbarLabel: {
id: 'app.actionsBar.Label',
description: 'Aria-label for ActionsBar Section'
description: 'Aria-label for ActionsBar Section',
},
});

View File

@ -7,7 +7,7 @@ import { defineMessages, injectIntl } from 'react-intl';
const intlMessages = defineMessages({
joinAudio: {
id: 'app.audio.joinAudio',
description: 'Join audio button label'
description: 'Join audio button label',
},
leaveAudio: {
id: 'app.audio.leaveAudio',

View File

@ -112,7 +112,7 @@ class AudioSettings extends React.Component {
</div>
</div>
<div className={styles.col}>
<label className={styles.label}>&nbsp;</label>
<label className={styles.label}> </label>
<AudioTestContainer/>
</div>
</div>
@ -150,7 +150,7 @@ const intlMessages = defineMessages({
streamVolumeLabel: {
id: 'app.audio.audioSettings.microphoneStreamLabel',
description: 'Label for stream volume',
}
},
});
export default injectIntl(AudioSettings);

View File

@ -3,7 +3,7 @@ import { createContainer } from 'meteor/react-meteor-data';
import Audio from './component';
import { showModal } from '../app/service';
import AudioModalContainer from './audio-modal/container'
import AudioModalContainer from './audio-modal/container';
class AudioContainer extends Component {
componentWillMount() {

View File

@ -5,7 +5,7 @@ import Users from '/imports/api/users';
import Auth from '/imports/ui/services/auth';
import { showModal } from '/imports/ui/components/app/service';
import AudioManager from '/imports/api/audio/client/manager'
import AudioManager from '/imports/api/audio/client/manager';
const handleJoinAudio = () => {
const handleJoinListenOnly = () => joinListenOnly();

View File

@ -163,7 +163,7 @@ class ApplicationMenu extends BaseMenu {
tabIndex='0'
hideLabel={true}
label={intl.formatMessage(intlMessages.increaseFontBtnLabel)}
aria-describedby={""}
aria-describedby={''}
/>
<div id='sizeUpLabel' hidden>Font size up</div>
</div>
@ -176,7 +176,7 @@ class ApplicationMenu extends BaseMenu {
tabIndex='0'
hideLabel={true}
label={intl.formatMessage(intlMessages.decreaseFontBtnLabel)}
aria-describedby={""}
aria-describedby={''}
/>
</div>
</div>

View File

@ -127,7 +127,7 @@ class ClosedCaptionsMenu extends BaseMenu {
render() {
const {
locales,
intl
intl,
} = this.props;
return (

View File

@ -18,7 +18,7 @@ getClosedCaptionSettings = () => {
ccSettings.locales = locales;
return ccSettings;
}
};
export default {
getClosedCaptionSettings,

View File

@ -38,7 +38,8 @@ export default class Switch extends Toggle {
<input
{...inputProps}
ref={ref => { this.input = ref }}
ref={ref => { this.input = ref; }}
onFocus={this.handleFocus}
onBlur={this.handleBlur}
className='react-toggle-screenreader-only'