Name folders consistently

This commit is contained in:
Lyubomir Marinov
2017-01-17 08:44:50 -06:00
parent 4f8b7a934c
commit eaed9db1e7
26 changed files with 27 additions and 33 deletions

View File

@@ -9,21 +9,6 @@ import {
} from './actionTypes';
import { CAMERA_FACING_MODE } from './constants';
/**
* Listen for various actions related to media devices.
*
* @param {Object} state - State of media devices.
* @param {Object} action - Action object.
* @param {string} action.type - Type of action.
* @param {Object} action.media - Information about media devices to be
* modified.
* @returns {Object}
*/
ReducerRegistry.register('features/base/media', combineReducers({
audio,
video
}));
/**
* Media state object for local audio.
*
@@ -105,3 +90,18 @@ function video(state = VIDEO_INITIAL_MEDIA_STATE, action) {
return state;
}
}
/**
* Listen for various actions related to media devices.
*
* @param {Object} state - State of media devices.
* @param {Object} action - Action object.
* @param {string} action.type - Type of action.
* @param {Object} action.media - Information about media devices to be
* modified.
* @returns {Object}
*/
ReducerRegistry.register('features/base/media', combineReducers({
audio,
video
}));