Fix jsdocs

This commit is contained in:
Lyubo Marinov 2017-05-26 11:28:14 -05:00
parent 8882d9c3b6
commit ec2e6525ac
4 changed files with 25 additions and 28 deletions

View File

@ -1263,10 +1263,8 @@ export default {
room.on(
ConferenceEvents.AUTH_STATUS_CHANGED,
function (authEnabled, authLogin) {
APP.UI.updateAuthInfo(authEnabled, authLogin);
}
);
(authEnabled, authLogin) =>
APP.UI.updateAuthInfo(authEnabled, authLogin));
room.on(ConferenceEvents.PARTCIPANT_FEATURES_CHANGED,
user => APP.UI.onUserFeaturesChanged(user));

View File

@ -295,7 +295,7 @@ UI.getSharedVideoManager = function () {
* Starts the UI module and initializes all related components.
*
* @returns {boolean} true if the UI is ready and the conference should be
* esablished, false - otherwise (for example in the case of welcome page)
* established, false - otherwise (for example in the case of welcome page)
*/
UI.start = function () {
document.title = interfaceConfig.APP_NAME;
@ -367,7 +367,6 @@ UI.start = function () {
// this is the default toastr close button html, just adds tabIndex
"closeHtml": '<button type="button" tabIndex="-1">&times;</button>'
};
}
const { callee } = APP.store.getState()['features/jwt'];
@ -1385,8 +1384,8 @@ UI.hideRingOverlay
/**
* Indicates if any the "top" overlays are currently visible. The check includes
* the call overlay, the suspended overlay, the GUM permissions overlay, and the
* page-reload overlay.
* the call/ring overlay, the suspended overlay, the GUM permissions overlay,
* and the page-reload overlay.
*
* @returns {*|boolean} {true} if an overlay is visible; {false}, otherwise
*/

View File

@ -89,7 +89,7 @@ function _conferenceFailed(state, action) {
/**
* The indicator of how the conference/room is locked. If falsy, the
* conference/room is unlocked; otherwise, it's either
* {@code LOCKED_LOCALLY| or {@code LOCKED_REMOTELY}.
* {@code LOCKED_LOCALLY} or {@code LOCKED_REMOTELY}.
*
* @type {string}
*/