Selaa lähdekoodia

chore(lint) tame the (uppdated) linter

master
Saúl Ibarra Corretgé 3 vuotta sitten
vanhempi
commit
162a67fe8b
100 muutettua tiedostoa jossa 246 lisäystä ja 232 poistoa
  1. 3
    0
      .eslintignore
  2. 1
    1
      conference.js
  3. 1
    1
      modules/API/constants.js
  4. 5
    4
      modules/API/external/external_api.js
  5. 6
    6
      package-lock.json
  6. 5
    1
      react/.eslintrc.js
  7. 1
    1
      react/features/always-on-top/AlwaysOnTop.js
  8. 1
    1
      react/features/always-on-top/Toolbar.js
  9. 2
    0
      react/features/analytics/AnalyticsEvents.js
  10. 1
    1
      react/features/analytics/handlers/AbstractHandler.js
  11. 1
    1
      react/features/app/components/App.native.js
  12. 1
    1
      react/features/app/components/App.web.js
  13. 1
    1
      react/features/audio-level-indicator/components/AudioLevelIndicator.js
  14. 1
    1
      react/features/authentication/components/native/LoginDialog.js
  15. 1
    1
      react/features/authentication/components/web/LoginDialog.js
  16. 1
    1
      react/features/base/app/components/BaseApp.js
  17. 0
    7
      react/features/base/app/reducer.js
  18. 2
    2
      react/features/base/avatar/components/Avatar.js
  19. 1
    1
      react/features/base/avatar/components/native/StatelessAvatar.js
  20. 2
    2
      react/features/base/avatar/components/web/StatelessAvatar.js
  21. 8
    6
      react/features/base/buttons/CopyButton.js
  22. 1
    1
      react/features/base/components/buttons/QuickActionButton.js
  23. 4
    4
      react/features/base/components/context-menu/ContextMenu.js
  24. 1
    1
      react/features/base/components/context-menu/ContextMenuItemGroup.js
  25. 1
    1
      react/features/base/components/particpants-pane-list/ListItem.js
  26. 1
    1
      react/features/base/config/extraConfigWhitelist.js
  27. 1
    1
      react/features/base/dialog/components/native/AlertDialog.js
  28. 1
    1
      react/features/base/dialog/components/native/BaseDialog.js
  29. 5
    5
      react/features/base/dialog/components/native/BaseSubmitDialog.js
  30. 1
    1
      react/features/base/dialog/components/native/BottomSheet.js
  31. 1
    1
      react/features/base/dialog/components/native/ConfirmDialog.js
  32. 1
    1
      react/features/base/dialog/components/native/DialogContainer.js
  33. 1
    1
      react/features/base/dialog/components/native/InputDialog.js
  34. 1
    1
      react/features/base/dialog/components/web/AbstractDialogTab.js
  35. 1
    1
      react/features/base/dialog/components/web/Dialog.js
  36. 1
    1
      react/features/base/dialog/components/web/DialogContainer.js
  37. 1
    1
      react/features/base/dialog/components/web/DialogWithTabs.js
  38. 2
    3
      react/features/base/dialog/components/web/ModalHeader.js
  39. 4
    2
      react/features/base/dialog/components/web/StatelessDialog.js
  40. 7
    1
      react/features/base/dialog/components/web/ThemedDialog.js
  41. 1
    1
      react/features/base/dialog/constants.js
  42. 3
    3
      react/features/base/flags/constants.js
  43. 12
    12
      react/features/base/icons/components/Icon.js
  44. 2
    2
      react/features/base/label/components/ExpandedLabel.native.js
  45. 2
    2
      react/features/base/label/components/Label.native.js
  46. 1
    1
      react/features/base/label/components/Label.web.js
  47. 1
    0
      react/features/base/logging/JitsiMeetInMemoryLogStorage.js
  48. 1
    0
      react/features/base/logging/JitsiMeetLogStorage.js
  49. 1
    1
      react/features/base/media/components/AbstractAudio.js
  50. 1
    1
      react/features/base/media/components/native/VideoTrack.js
  51. 10
    10
      react/features/base/media/components/native/VideoTransform.js
  52. 17
    17
      react/features/base/media/components/web/Video.js
  53. 17
    17
      react/features/base/media/components/web/VideoTrack.js
  54. 2
    2
      react/features/base/participants/components/ParticipantView.native.js
  55. 1
    1
      react/features/base/participants/components/styles.js
  56. 2
    0
      react/features/base/participants/constants.js
  57. 1
    0
      react/features/base/participants/reducer.js
  58. 1
    1
      react/features/base/popover/components/Popover.web.js
  59. 5
    5
      react/features/base/premeeting/components/web/ActionButton.js
  60. 1
    1
      react/features/base/premeeting/components/web/InputField.js
  61. 2
    2
      react/features/base/premeeting/components/web/PreMeetingScreen.js
  62. 1
    1
      react/features/base/premeeting/components/web/Preview.js
  63. 2
    4
      react/features/base/premeeting/functions.js
  64. 12
    12
      react/features/base/react/Types.js
  65. 2
    2
      react/features/base/react/components/AbstractContainer.js
  66. 1
    1
      react/features/base/react/components/NavigateSectionList.js
  67. 1
    1
      react/features/base/react/components/native/AvatarListItem.js
  68. 1
    1
      react/features/base/react/components/native/BackButton.js
  69. 1
    1
      react/features/base/react/components/native/Button.js
  70. 1
    1
      react/features/base/react/components/native/Container.js
  71. 1
    1
      react/features/base/react/components/native/ForwardButton.js
  72. 2
    2
      react/features/base/react/components/native/Header.js
  73. 1
    1
      react/features/base/react/components/native/HeaderLabel.js
  74. 1
    1
      react/features/base/react/components/native/HeaderWithNavigation.js
  75. 2
    2
      react/features/base/react/components/native/Image.js
  76. 1
    1
      react/features/base/react/components/native/Modal.js
  77. 2
    2
      react/features/base/react/components/native/NavigateSectionListEmptyComponent.js
  78. 3
    3
      react/features/base/react/components/native/NavigateSectionListItem.js
  79. 3
    3
      react/features/base/react/components/native/NavigateSectionListSectionHeader.js
  80. 1
    1
      react/features/base/react/components/native/PagedList.js
  81. 1
    1
      react/features/base/react/components/native/Pressable.js
  82. 5
    5
      react/features/base/react/components/native/SectionList.js
  83. 1
    1
      react/features/base/react/components/native/SlidingView.js
  84. 1
    1
      react/features/base/react/components/native/headerstyles.js
  85. 1
    1
      react/features/base/react/components/web/BaseIndicator.js
  86. 1
    1
      react/features/base/react/components/web/Container.js
  87. 1
    1
      react/features/base/react/components/web/Image.js
  88. 1
    1
      react/features/base/react/components/web/InlineDialogFailure.js
  89. 2
    2
      react/features/base/react/components/web/MeetingsList.js
  90. 2
    2
      react/features/base/react/components/web/MultiSelectAutocomplete.js
  91. 5
    4
      react/features/base/react/components/web/NavigateSectionListItem.js
  92. 3
    3
      react/features/base/react/components/web/NavigateSectionListSectionHeader.js
  93. 6
    6
      react/features/base/react/components/web/SectionList.js
  94. 1
    1
      react/features/base/react/components/web/Switch.js
  95. 1
    1
      react/features/base/react/components/web/Text.js
  96. 1
    1
      react/features/base/redux/StateListenerRegistry.js
  97. 7
    9
      react/features/base/settings/functions.any.js
  98. 1
    1
      react/features/base/testing/components/AbstractTestHint.js
  99. 1
    1
      react/features/base/testing/components/TestConnectionInfo.js
  100. 0
    0
      react/features/base/toolbox/components/AbstractButton.js

+ 3
- 0
.eslintignore Näytä tiedosto

@@ -13,3 +13,6 @@ load-test/*
13 13
 # not seem to be a reason why we will want to risk being inconsistent with our
14 14
 # remaining JavaScript source code.
15 15
 !.eslintrc.js
16
+
17
+# Not worth it.
18
+actionTypes.js

+ 1
- 1
conference.js Näytä tiedosto

@@ -760,7 +760,7 @@ export default {
760 760
         // XXX The API will take care of disconnecting from the XMPP
761 761
         // server (and, thus, leaving the room) on unload.
762 762
         return new Promise((resolve, reject) => {
763
-            (new ConferenceConnector(resolve, reject)).connect();
763
+            new ConferenceConnector(resolve, reject).connect();
764 764
         });
765 765
     },
766 766
 

+ 1
- 1
modules/API/constants.js Näytä tiedosto

@@ -12,6 +12,6 @@ import { parseURLParams } from '../../react/features/base/util/parseURLParams';
12 12
 export const API_ID = parseURLParams(window.location).jitsi_meet_external_api_id;
13 13
 
14 14
 /**
15
- * The payload name for the datachannel/endpoint text message event
15
+ * The payload name for the datachannel/endpoint text message event.
16 16
  */
17 17
 export const ENDPOINT_TEXT_MESSAGE_NAME = 'endpoint-text-message';

+ 5
- 4
modules/API/external/external_api.js Näytä tiedosto

@@ -24,7 +24,7 @@ const ALWAYS_ON_TOP_FILENAMES = [
24 24
 
25 25
 /**
26 26
  * Maps the names of the commands expected by the API with the name of the
27
- * commands expected by jitsi-meet
27
+ * commands expected by jitsi-meet.
28 28
  */
29 29
 const commands = {
30 30
     answerKnockingParticipant: 'answer-knocking-participant',
@@ -75,7 +75,7 @@ const commands = {
75 75
 
76 76
 /**
77 77
  * Maps the names of the events expected by the API with the name of the
78
- * events expected by jitsi-meet
78
+ * events expected by jitsi-meet.
79 79
  */
80 80
 const events = {
81 81
     'avatar-changed': 'avatarChanged',
@@ -129,7 +129,8 @@ const events = {
129 129
 };
130 130
 
131 131
 /**
132
- * Last id of api object
132
+ * Last id of api object.
133
+ *
133 134
  * @type {number}
134 135
  */
135 136
 let id = 0;
@@ -387,7 +388,7 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
387 388
         }
388 389
 
389 390
         return ALWAYS_ON_TOP_FILENAMES.map(
390
-            filename => (new URL(filename, baseURL)).href
391
+            filename => new URL(filename, baseURL).href
391 392
         );
392 393
     }
393 394
 

+ 6
- 6
package-lock.json Näytä tiedosto

@@ -60,7 +60,7 @@
60 60
         "jquery-i18next": "1.2.1",
61 61
         "js-md5": "0.6.1",
62 62
         "jwt-decode": "2.2.0",
63
-        "lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#e6b330186fbf667d1f8a7fa48410772cd2526e9d",
63
+        "lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#03bc5278dab9283b9eceee9e7b6d9b48511e3d53",
64 64
         "libflacjs": "github:mmig/libflac.js#93d37e7f811f01cf7d8b6a603e38bd3c3810907d",
65 65
         "lodash": "4.17.21",
66 66
         "moment": "2.29.1",
@@ -12405,8 +12405,8 @@
12405 12405
     },
12406 12406
     "node_modules/lib-jitsi-meet": {
12407 12407
       "version": "0.0.0",
12408
-      "resolved": "git+ssh://git@github.com/jitsi/lib-jitsi-meet.git#e6b330186fbf667d1f8a7fa48410772cd2526e9d",
12409
-      "integrity": "sha512-9dGkPk5cvhIeo9USMH9vqXk0dgbfF5rmhFFu8Zrr0I93HxmHd7hWdnwlTaOuSQc6E0q/NZTOxGn3TStNp5VN7Q==",
12408
+      "resolved": "git+ssh://git@github.com/jitsi/lib-jitsi-meet.git#03bc5278dab9283b9eceee9e7b6d9b48511e3d53",
12409
+      "integrity": "sha512-PrmwypA0wTjSXswh29tnNFng505+NhLpvSNhJRa82L+bfhCCAI1c/Z2BaKFUf4FpM7s/fsU4w5yE//WZ6MpNMQ==",
12410 12410
       "hasInstallScript": true,
12411 12411
       "license": "Apache-2.0",
12412 12412
       "dependencies": {
@@ -29724,9 +29724,9 @@
29724 29724
       }
29725 29725
     },
29726 29726
     "lib-jitsi-meet": {
29727
-      "version": "git+ssh://git@github.com/jitsi/lib-jitsi-meet.git#e6b330186fbf667d1f8a7fa48410772cd2526e9d",
29728
-      "integrity": "sha512-9dGkPk5cvhIeo9USMH9vqXk0dgbfF5rmhFFu8Zrr0I93HxmHd7hWdnwlTaOuSQc6E0q/NZTOxGn3TStNp5VN7Q==",
29729
-      "from": "lib-jitsi-meet@github:jitsi/lib-jitsi-meet#e6b330186fbf667d1f8a7fa48410772cd2526e9d",
29727
+      "version": "git+ssh://git@github.com/jitsi/lib-jitsi-meet.git#03bc5278dab9283b9eceee9e7b6d9b48511e3d53",
29728
+      "integrity": "sha512-PrmwypA0wTjSXswh29tnNFng505+NhLpvSNhJRa82L+bfhCCAI1c/Z2BaKFUf4FpM7s/fsU4w5yE//WZ6MpNMQ==",
29729
+      "from": "lib-jitsi-meet@github:jitsi/lib-jitsi-meet#03bc5278dab9283b9eceee9e7b6d9b48511e3d53",
29730 29730
       "requires": {
29731 29731
         "@jitsi/js-utils": "2.0.0",
29732 29732
         "@jitsi/sdp-interop": "github:jitsi/sdp-interop#4669790bb9020cc8f10c1d1f3823c26b08497547",

+ 5
- 1
react/.eslintrc.js Näytä tiedosto

@@ -5,5 +5,9 @@ module.exports = {
5 5
         'eslint-config-jitsi/jsdoc',
6 6
         'eslint-config-jitsi/react',
7 7
         '.eslintrc-react-native.js'
8
-    ]
8
+    ],
9
+    'rules': {
10
+        // XXX remove this eventually.
11
+        'react/jsx-indent-props': 0
12
+    }
9 13
 };

+ 1
- 1
react/features/always-on-top/AlwaysOnTop.js Näytä tiedosto

@@ -33,7 +33,7 @@ type State = {
33 33
  * Represents the always on top page.
34 34
  *
35 35
  * @class AlwaysOnTop
36
- * @extends Component
36
+ * @augments Component
37 37
  */
38 38
 export default class AlwaysOnTop extends Component<*, State> {
39 39
     _hovered: boolean;

+ 1
- 1
react/features/always-on-top/Toolbar.js Näytä tiedosto

@@ -30,7 +30,7 @@ type Props = {
30 30
 /**
31 31
  * Represents the toolbar in the Always On Top window.
32 32
  *
33
- * @extends Component
33
+ * @augments Component
34 34
  */
35 35
 export default class Toolbar extends Component<Props> {
36 36
     /**

+ 2
- 0
react/features/analytics/AnalyticsEvents.js Näytä tiedosto

@@ -2,6 +2,7 @@
2 2
  * The constant for the event type 'track'.
3 3
  * TODO: keep these constants in a single place. Can we import them from
4 4
  * lib-jitsi-meet's AnalyticsEvents somehow?
5
+ *
5 6
  * @type {string}
6 7
  */
7 8
 const TYPE_TRACK = 'track';
@@ -10,6 +11,7 @@ const TYPE_TRACK = 'track';
10 11
  * The constant for the event type 'UI' (User Interaction).
11 12
  * TODO: keep these constants in a single place. Can we import them from
12 13
  * lib-jitsi-meet's AnalyticsEvents somehow?
14
+ *
13 15
  * @type {string}
14 16
  */
15 17
 const TYPE_UI = 'ui';

+ 1
- 1
react/features/analytics/handlers/AbstractHandler.js Näytä tiedosto

@@ -1,5 +1,5 @@
1 1
 /**
2
- * Abstract implementation of analytics handler
2
+ * Abstract implementation of analytics handler.
3 3
  */
4 4
 export default class AbstractHandler {
5 5
     /**

+ 1
- 1
react/features/app/components/App.native.js Näytä tiedosto

@@ -51,7 +51,7 @@ type Props = AbstractAppProps & {
51 51
 /**
52 52
  * Root app {@code Component} on mobile/React Native.
53 53
  *
54
- * @extends AbstractApp
54
+ * @augments AbstractApp
55 55
  */
56 56
 export class App extends AbstractApp {
57 57
     _init: Promise<*>;

+ 1
- 1
react/features/app/components/App.web.js Näytä tiedosto

@@ -17,7 +17,7 @@ import '../reducers';
17 17
 /**
18 18
  * Root app {@code Component} on Web/React.
19 19
  *
20
- * @extends AbstractApp
20
+ * @augments AbstractApp
21 21
  */
22 22
 export class App extends AbstractApp {
23 23
     /**

+ 1
- 1
react/features/audio-level-indicator/components/AudioLevelIndicator.js Näytä tiedosto

@@ -29,7 +29,7 @@ type Props = {
29 29
 /**
30 30
  * Creates a ReactElement responsible for drawing audio levels.
31 31
  *
32
- * @extends {Component}
32
+ * @augments {Component}
33 33
  */
34 34
 class AudioLevelIndicator extends Component<Props> {
35 35
     /**

+ 1
- 1
react/features/authentication/components/native/LoginDialog.js Näytä tiedosto

@@ -29,7 +29,7 @@ import './styles';
29 29
 type Props = {
30 30
 
31 31
     /**
32
-     * {@link JitsiConference} that needs authentication - will hold a valid
32
+     * {@link JitsiConference} That needs authentication - will hold a valid
33 33
      * value in XMPP login + guest access mode.
34 34
      */
35 35
     _conference: Object,

+ 1
- 1
react/features/authentication/components/web/LoginDialog.js Näytä tiedosto

@@ -21,7 +21,7 @@ import {
21 21
 type Props = {
22 22
 
23 23
     /**
24
-     * {@link JitsiConference} that needs authentication - will hold a valid
24
+     * {@link JitsiConference} That needs authentication - will hold a valid
25 25
      * value in XMPP login + guest access mode.
26 26
      */
27 27
     _conference: Object,

+ 1
- 1
react/features/base/app/components/BaseApp.js Näytä tiedosto

@@ -259,5 +259,5 @@ export default class BaseApp extends Component<*, State> {
259 259
      *
260 260
      * @returns {React$Element}
261 261
      */
262
-    _renderDialogContainer: () => React$Element<*>
262
+    _renderDialogContainer: () => React$Element<*>;
263 263
 }

+ 0
- 7
react/features/base/app/reducer.js Näytä tiedosto

@@ -12,13 +12,6 @@ ReducerRegistry.register('features/base/app', (state = {}, action) => {
12 12
         if (state.app !== app) {
13 13
             return {
14 14
                 ...state,
15
-
16
-                /**
17
-                 * The one and only (i.e. singleton) {@link BaseApp} instance
18
-                 * which is currently mounted.
19
-                 *
20
-                 * @type {BaseApp}
21
-                 */
22 15
                 app
23 16
             };
24 17
         }

+ 2
- 2
react/features/base/avatar/components/Avatar.js Näytä tiedosto

@@ -38,12 +38,12 @@ export type Props = {
38 38
 
39 39
     /**
40 40
      * Display name of the entity to render an avatar for (if any). This is handy when we need
41
-     * an avatar for a non-participasnt entity (e.g. a recent list item).
41
+     * an avatar for a non-participasnt entity (e.g. A recent list item).
42 42
      */
43 43
     displayName?: string,
44 44
 
45 45
     /**
46
-     * Whether or not to update the background color of the avatar
46
+     * Whether or not to update the background color of the avatar.
47 47
      */
48 48
     dynamicColor?: Boolean,
49 49
 

+ 1
- 1
react/features/base/avatar/components/native/StatelessAvatar.js Näytä tiedosto

@@ -63,7 +63,7 @@ export default class StatelessAvatar extends AbstractStatelessAvatar<Props> {
63 63
         );
64 64
     }
65 65
 
66
-    _isIcon: (?string | ?Object) => boolean
66
+    _isIcon: (?string | ?Object) => boolean;
67 67
 
68 68
     /**
69 69
      * Renders a badge representing the avatar status.

+ 2
- 2
react/features/base/avatar/components/web/StatelessAvatar.js Näytä tiedosto

@@ -13,7 +13,7 @@ type Props = AbstractProps & {
13 13
     className?: string,
14 14
 
15 15
     /**
16
-     * The default avatar URL if we want to override the app bundled one (e.g. AlwaysOnTop)
16
+     * The default avatar URL if we want to override the app bundled one (e.g. AlwaysOnTop).
17 17
      */
18 18
     defaultAvatar?: string,
19 19
 
@@ -157,5 +157,5 @@ export default class StatelessAvatar extends AbstractStatelessAvatar<Props> {
157 157
         return '';
158 158
     }
159 159
 
160
-    _isIcon: (?string | ?Object) => boolean
160
+    _isIcon: (?string | ?Object) => boolean;
161 161
 }

+ 8
- 6
react/features/base/buttons/CopyButton.js Näytä tiedosto

@@ -1,5 +1,7 @@
1 1
 // @flow
2 2
 
3
+/* eslint-disable react/jsx-no-bind */
4
+
3 5
 import React, { useState } from 'react';
4 6
 
5 7
 import { Icon, IconCheck, IconCopy } from '../../base/icons';
@@ -9,32 +11,32 @@ import { copyText } from '../util';
9 11
 type Props = {
10 12
 
11 13
     /**
12
-     * Css class to apply on container
14
+     * Css class to apply on container.
13 15
      */
14 16
     className: string,
15 17
 
16 18
     /**
17
-     * The displayed text
19
+     * The displayed text.
18 20
      */
19 21
     displayedText: string,
20 22
 
21 23
     /**
22
-     * The text that needs to be copied (might differ from the displayedText)
24
+     * The text that needs to be copied (might differ from the displayedText).
23 25
      */
24 26
     textToCopy: string,
25 27
 
26 28
     /**
27
-     * The text displayed on mouse hover
29
+     * The text displayed on mouse hover.
28 30
      */
29 31
     textOnHover: string,
30 32
 
31 33
     /**
32
-     * The text displayed on copy success
34
+     * The text displayed on copy success.
33 35
      */
34 36
     textOnCopySuccess: string,
35 37
 
36 38
     /**
37
-     * The id of the button
39
+     * The id of the button.
38 40
      */
39 41
     id?: string,
40 42
 };

+ 1
- 1
react/features/base/components/buttons/QuickActionButton.js Näytä tiedosto

@@ -21,7 +21,7 @@ type Props = {
21 21
     children: string | React$Node,
22 22
 
23 23
     /**
24
-     * Click handler
24
+     * Click handler.
25 25
      */
26 26
     onClick: Function,
27 27
 

+ 4
- 4
react/features/base/components/context-menu/ContextMenu.js Näytä tiedosto

@@ -37,12 +37,12 @@ type Props = {
37 37
     isDrawerOpen: boolean,
38 38
 
39 39
     /**
40
-     * Target elements against which positioning calculations are made
40
+     * Target elements against which positioning calculations are made.
41 41
      */
42 42
     offsetTarget?: HTMLElement,
43 43
 
44 44
     /**
45
-     * Callback for click on an item in the menu
45
+     * Callback for click on an item in the menu.
46 46
      */
47 47
     onClick?: Function,
48 48
 
@@ -52,12 +52,12 @@ type Props = {
52 52
     onDrawerClose: Function,
53 53
 
54 54
     /**
55
-     * Callback for the mouse entering the component
55
+     * Callback for the mouse entering the component.
56 56
      */
57 57
     onMouseEnter?: Function,
58 58
 
59 59
     /**
60
-     * Callback for the mouse leaving the component
60
+     * Callback for the mouse leaving the component.
61 61
      */
62 62
     onMouseLeave: Function
63 63
 };

+ 1
- 1
react/features/base/components/context-menu/ContextMenuItemGroup.js Näytä tiedosto

@@ -54,7 +54,7 @@ type Props = {
54 54
     actions?: Array<Action>,
55 55
 
56 56
     /**
57
-     * The children of the component
57
+     * The children of the component.
58 58
      */
59 59
     children?: React$Node,
60 60
 };

+ 1
- 1
react/features/base/components/particpants-pane-list/ListItem.js Näytä tiedosto

@@ -14,7 +14,7 @@ type Props = {
14 14
     actions: React$Node,
15 15
 
16 16
     /**
17
-     * Icon to be displayed on the list item. (Avatar for participants)
17
+     * Icon to be displayed on the list item. (Avatar for participants).
18 18
      */
19 19
     icon: React$Node,
20 20
 

+ 1
- 1
react/features/base/config/extraConfigWhitelist.js Näytä tiedosto

@@ -1,4 +1,4 @@
1 1
 /**
2
- * Deploy-specific configuration whitelists
2
+ * Deploy-specific configuration whitelists.
3 3
  */
4 4
 export default [];

+ 1
- 1
react/features/base/dialog/components/native/AlertDialog.js Näytä tiedosto

@@ -45,7 +45,7 @@ class AlertDialog extends BaseSubmitDialog<Props, *> {
45 45
         );
46 46
     }
47 47
 
48
-    _renderHTML: string => Object | string
48
+    _renderHTML: string => Object | string;
49 49
 }
50 50
 
51 51
 export default translate(connect(_abstractMapStateToProps)(AlertDialog));

+ 1
- 1
react/features/base/dialog/components/native/BaseDialog.js Näytä tiedosto

@@ -93,7 +93,7 @@ class BaseDialog<P: Props, S: State> extends AbstractDialog<P, S> {
93 93
      *
94 94
      * @returns {ReactElement}
95 95
      */
96
-    _renderContent: () => Object
96
+    _renderContent: () => Object;
97 97
 
98 98
     /**
99 99
      * Renders a specific {@code string} which may contain HTML.

+ 5
- 5
react/features/base/dialog/components/native/BaseSubmitDialog.js Näytä tiedosto

@@ -21,7 +21,7 @@ type Props = BaseProps & {
21 21
 }
22 22
 
23 23
 /**
24
- * Abstract dialog to submit something. E.g. a confirmation or a form.
24
+ * Abstract dialog to submit something. E.g. A confirmation or a form.
25 25
  */
26 26
 class BaseSubmitDialog<P: Props, S: *> extends BaseDialog<P, S> {
27 27
     /**
@@ -84,16 +84,16 @@ class BaseSubmitDialog<P: Props, S: *> extends BaseDialog<P, S> {
84 84
 
85 85
     _onSubmit: () => boolean;
86 86
 
87
-    _renderHTML: string => Object | string
87
+    _renderHTML: string => Object | string;
88 88
 
89
-    /**
89
+    /** .
90 90
      * Renders the actual content of the dialog defining what is about to be
91
-     * submitted. E.g. a simple confirmation (text, properly wrapped) or a
91
+     * submitted. E.g. A simple confirmation (text, properly wrapped) or a
92 92
      * complex form.
93 93
      *
94 94
      * @returns {Object}
95 95
      */
96
-    _renderSubmittable: () => Object
96
+    _renderSubmittable: () => Object;
97 97
 }
98 98
 
99 99
 export default BaseSubmitDialog;

+ 1
- 1
react/features/base/dialog/components/native/BottomSheet.js Näytä tiedosto

@@ -72,7 +72,7 @@ type Props = {
72 72
     showSlidingView?: boolean,
73 73
 
74 74
     /**
75
-     * The component's external style
75
+     * The component's external style.
76 76
      */
77 77
     style: Object
78 78
 };

+ 1
- 1
react/features/base/dialog/components/native/ConfirmDialog.js Näytä tiedosto

@@ -101,7 +101,7 @@ class ConfirmDialog extends BaseSubmitDialog<Props, *> {
101 101
         );
102 102
     }
103 103
 
104
-    _renderHTML: string => Object | string
104
+    _renderHTML: string => Object | string;
105 105
 }
106 106
 
107 107
 export default translate(connect(_abstractMapStateToProps)(ConfirmDialog));

+ 1
- 1
react/features/base/dialog/components/native/DialogContainer.js Näytä tiedosto

@@ -12,7 +12,7 @@ import AbstractDialogContainer, {
12 12
  * need a separate container so we can handle multiple dialogs by showing them
13 13
  * simultaneously or queueing them.
14 14
  *
15
- * @extends AbstractDialogContainer
15
+ * @augments AbstractDialogContainer
16 16
  */
17 17
 class DialogContainer extends AbstractDialogContainer {
18 18
 

+ 1
- 1
react/features/base/dialog/components/native/InputDialog.js Näytä tiedosto

@@ -34,7 +34,7 @@ type Props = BaseProps & {
34 34
     initialValue?: ?string,
35 35
 
36 36
     /**
37
-     * A message key to be shown for the user (e.g. an error that is defined after submitting the form).
37
+     * A message key to be shown for the user (e.g. An error that is defined after submitting the form).
38 38
      */
39 39
     messageKey?: string,
40 40
 

+ 1
- 1
react/features/base/dialog/components/web/AbstractDialogTab.js Näytä tiedosto

@@ -27,7 +27,7 @@ export type Props = {
27 27
 /**
28 28
  * Abstract React {@code Component} for tabs of the DialogWithTabs component.
29 29
  *
30
- * @extends Component
30
+ * @augments Component
31 31
  */
32 32
 class AbstractDialogTab<P: Props, S: *> extends Component<P, S> {
33 33
     /**

+ 1
- 1
react/features/base/dialog/components/web/Dialog.js Näytä tiedosto

@@ -34,7 +34,7 @@ type Props = AbstractDialogProps & {
34 34
      * - 'small' (400px), 'medium' (600px), 'large' (800px),
35 35
      * 'x-large' (968px)
36 36
      * - integer value for pixel width
37
-     * - string value for percentage
37
+     * - string value for percentage.
38 38
      */
39 39
     width: string
40 40
 };

+ 1
- 1
react/features/base/dialog/components/web/DialogContainer.js Näytä tiedosto

@@ -10,7 +10,7 @@ import AbstractDialogContainer, {
10 10
  * Implements a DialogContainer responsible for showing all dialogs. Necessary
11 11
  * for supporting @atlaskit's modal animations.
12 12
  *
13
- * @extends AbstractDialogContainer
13
+ * @augments AbstractDialogContainer
14 14
  */
15 15
 class DialogContainer extends AbstractDialogContainer {
16 16
     /**

+ 1
- 1
react/features/base/dialog/components/web/DialogWithTabs.js Näytä tiedosto

@@ -77,7 +77,7 @@ type State = {
77 77
 /**
78 78
  * A React {@code Component} for displaying a dialog with tabs.
79 79
  *
80
- * @extends Component
80
+ * @augments Component
81 81
  */
82 82
 class DialogWithTabs extends Component<Props, State> {
83 83
     /**

+ 2
- 3
react/features/base/dialog/components/web/ModalHeader.js Näytä tiedosto

@@ -77,11 +77,10 @@ const styles = theme => {
77 77
 
78 78
 
79 79
 /**
80
- * A default header for modal-dialog components
80
+ * A default header for modal-dialog components.
81 81
  *
82
- * @export
83 82
  * @class ModalHeader
84
- * @extends {React.Component<Props>}
83
+ * @augments {React.Component<Props>}
85 84
  */
86 85
 class ModalHeader extends React.Component<Props> {
87 86
     static defaultProps = {

+ 4
- 2
react/features/base/dialog/components/web/StatelessDialog.js Näytä tiedosto

@@ -14,12 +14,14 @@ import ModalHeader from './ModalHeader';
14 14
 
15 15
 /**
16 16
  * The ID to be used for the cancel button if enabled.
17
+ *
17 18
  * @type {string}
18 19
  */
19 20
 const CANCEL_BUTTON_ID = 'modal-dialog-cancel-button';
20 21
 
21 22
 /**
22 23
  * The ID to be used for the ok button if enabled.
24
+ *
23 25
  * @type {string}
24 26
  */
25 27
 const OK_BUTTON_ID = 'modal-dialog-ok-button';
@@ -102,7 +104,7 @@ type Props = DialogProps & {
102 104
      * - 'small' (400px), 'medium' (600px), 'large' (800px),
103 105
      *   'x-large' (968px)
104 106
      * - integer value for pixel width
105
-     * - string value for percentage
107
+     * - string value for percentage.
106 108
      */
107 109
     width: string
108 110
 };
@@ -131,7 +133,7 @@ class StatelessDialog extends Component<Props> {
131 133
     /**
132 134
      * The functional component to be used for rendering the modal footer.
133 135
      */
134
-    _Footer: ?Function
136
+    _Footer: ?Function;
135 137
 
136 138
     _dialogElement: ?HTMLElement;
137 139
 

+ 7
- 1
react/features/base/dialog/components/web/ThemedDialog.js Näytä tiedosto

@@ -1,3 +1,5 @@
1
+// @flow
2
+
1 3
 import {
2 4
     Dialog,
3 5
     FillScreen,
@@ -10,7 +12,11 @@ import { N0, DN50 } from '@atlaskit/theme/colors';
10 12
 import { themed } from '@atlaskit/theme/components';
11 13
 import React from 'react';
12 14
 
13
-const ThemedDialog = props => {
15
+type Props = {
16
+    isChromeless: boolean
17
+}
18
+
19
+const ThemedDialog = (props: Props) => {
14 20
     const style = { backgroundColor: props.isChromeless ? 'transparent' : themed({ light: N0,
15 21
         dark: DN50 })({ theme: { mode: 'dark' } }) };
16 22
 

+ 1
- 1
react/features/base/dialog/constants.js Näytä tiedosto

@@ -52,7 +52,7 @@ export type DialogProps = {
52 52
     /**
53 53
      * The string to use as a title instead of {@code titleKey}. If a truthy
54 54
      * value is specified, it takes precedence over {@code titleKey} i.e.
55
-     * the latter is unused.
55
+     * The latter is unused.
56 56
      */
57 57
     titleString: ?string
58 58
 };

+ 3
- 3
react/features/base/flags/constants.js Näytä tiedosto

@@ -9,7 +9,7 @@ export const ADD_PEOPLE_ENABLED = 'add-people.enabled';
9 9
 /**
10 10
  * Flag indicating if the SDK should not require the audio focus.
11 11
  * Used by apps that do not use Jitsi audio.
12
- * Default: disabled (false)
12
+ * Default: disabled (false).
13 13
  */
14 14
 export const AUDIO_FOCUS_DISABLED = 'audio-focus.disabled';
15 15
 
@@ -181,13 +181,13 @@ export const RESOLUTION = 'resolution';
181 181
 
182 182
 /**
183 183
  * Flag indicating if the security options button should be enabled.
184
- * Default: enabled (true)
184
+ * Default: enabled (true).
185 185
  */
186 186
 export const SECURITY_OPTIONS_ENABLED = 'security-options.enabled';
187 187
 
188 188
 /**
189 189
  * Flag indicating if server URL change is enabled.
190
- * Default: enabled (true)
190
+ * Default: enabled (true).
191 191
  */
192 192
 export const SERVER_URL_CHANGE_ENABLED = 'server-url-change.enabled';
193 193
 

+ 12
- 12
react/features/base/icons/components/Icon.js Näytä tiedosto

@@ -23,7 +23,7 @@ type Props = {
23 23
     id?: string,
24 24
 
25 25
     /**
26
-     * Id of the icon container
26
+     * Id of the icon container.
27 27
      */
28 28
     containerId?: string,
29 29
 
@@ -48,57 +48,57 @@ type Props = {
48 48
     style?: Object,
49 49
 
50 50
     /**
51
-     * aria disabled flag for the Icon.
51
+     * Aria disabled flag for the Icon.
52 52
      */
53 53
     ariaDisabled?: boolean,
54 54
 
55 55
     /**
56
-     * aria label for the Icon.
56
+     * Aria label for the Icon.
57 57
      */
58 58
     ariaLabel?: string,
59 59
 
60 60
     /**
61
-     * whether the element has a popup
61
+     * Whether the element has a popup.
62 62
      */
63 63
     ariaHasPopup?: boolean,
64 64
 
65 65
     /**
66
-     * whether the element has a pressed
66
+     * Whether the element has a pressed.
67 67
      */
68 68
     ariaPressed?: boolean,
69 69
 
70 70
     /**
71
-     * id of description label
71
+     * Id of description label.
72 72
      */
73 73
     ariaDescribedBy?: string,
74 74
 
75 75
     /**
76
-     * whether the element popup is expanded
76
+     * Whether the element popup is expanded.
77 77
      */
78 78
     ariaExpanded?: boolean,
79 79
 
80 80
     /**
81
-     * The id of the element this button icon controls
81
+     * The id of the element this button icon controls.
82 82
      */
83 83
     ariaControls?: string,
84 84
 
85 85
       /**
86
-     * tabIndex  for the Icon.
86
+     * TabIndex  for the Icon.
87 87
      */
88 88
     tabIndex?: number,
89 89
 
90 90
      /**
91
-     * role for the Icon.
91
+     * Role for the Icon.
92 92
      */
93 93
     role?: string,
94 94
 
95 95
     /**
96
-     * keypress handler.
96
+     * Keypress handler.
97 97
      */
98 98
     onKeyPress?: Function,
99 99
 
100 100
     /**
101
-     * keydown handler.
101
+     * Keydown handler.
102 102
      */
103 103
     onKeyDown?: Function
104 104
 }

+ 2
- 2
react/features/base/label/components/ExpandedLabel.native.js Näytä tiedosto

@@ -79,9 +79,9 @@ export default class ExpandedLabel<P: Props> extends Component<P, State> {
79 79
      *
80 80
      * @returns {string}
81 81
      */
82
-    _getLabel: () => string
82
+    _getLabel: () => string;
83 83
 
84
-    _getColor: () => string
84
+    _getColor: () => string;
85 85
 
86 86
     /**
87 87
      * Defines the color of the expanded label. This function returns a default

+ 2
- 2
react/features/base/label/components/Label.native.js Näytä tiedosto

@@ -24,8 +24,8 @@ type Props = AbstractProps & {
24 24
 
25 25
     /**
26 26
      * Status of the label. This prop adds some additional styles based on its
27
-     * value. E.g. if status = off, it will render the label symbolising that
28
-     * the thing it displays (e.g. recording) is off.
27
+     * value. E.g. If status = off, it will render the label symbolising that
28
+     * the thing it displays (e.g. Recording) is off.
29 29
      */
30 30
     status: ('in_progress' | 'off' | 'on'),
31 31
 

+ 1
- 1
react/features/base/label/components/Label.web.js Näytä tiedosto

@@ -89,7 +89,7 @@ const styles = theme => {
89 89
 /**
90 90
  * React Component for showing short text in a circle.
91 91
  *
92
- * @extends Component
92
+ * @augments Component
93 93
  */
94 94
 class Label extends AbstractLabel<Props, *> {
95 95
     /**

+ 1
- 0
react/features/base/logging/JitsiMeetInMemoryLogStorage.js Näytä tiedosto

@@ -10,6 +10,7 @@ export default class JitsiMeetInMemoryLogStorage {
10 10
     constructor() {
11 11
         /**
12 12
          * Array of the log entries to keep.
13
+         *
13 14
          * @type {array}
14 15
          */
15 16
         this.logs = [];

+ 1
- 0
react/features/base/logging/JitsiMeetLogStorage.js Näytä tiedosto

@@ -15,6 +15,7 @@ export default class JitsiMeetLogStorage {
15 15
     constructor(getState) {
16 16
         /**
17 17
          * Counts each log entry, increases on every batch log entry stored.
18
+         *
18 19
          * @type {number}
19 20
          */
20 21
         this.counter = 1;

+ 1
- 1
react/features/base/media/components/AbstractAudio.js Näytä tiedosto

@@ -17,7 +17,7 @@ export type AudioElement = {
17 17
 };
18 18
 
19 19
 /**
20
- * {@code AbstractAudio} component's property types.
20
+ * {@code AbstractAudio} Component's property types.
21 21
  */
22 22
 type Props = {
23 23
 

+ 1
- 1
react/features/base/media/components/native/VideoTrack.js Näytä tiedosto

@@ -12,7 +12,7 @@ import styles from './styles';
12 12
 /**
13 13
  * Component that renders video element for a specified video track.
14 14
  *
15
- * @extends AbstractVideoTrack
15
+ * @augments AbstractVideoTrack
16 16
  */
17 17
 class VideoTrack extends AbstractVideoTrack<Props> {
18 18
     /**

+ 10
- 10
react/features/base/media/components/native/VideoTransform.js Näytä tiedosto

@@ -272,7 +272,7 @@ class VideoTransform extends Component<Props, State> {
272 272
         };
273 273
     }
274 274
 
275
-    _didMove: Object => boolean
275
+    _didMove: Object => boolean;
276 276
 
277 277
     /**
278 278
      * Determines if there was large enough movement to be handled.
@@ -315,7 +315,7 @@ class VideoTransform extends Component<Props, State> {
315 315
         return Math.sqrt(Math.pow(dx, 2) + Math.pow(dy, 2));
316 316
     }
317 317
 
318
-    _getTouchPosition: Object => Object
318
+    _getTouchPosition: Object => Object;
319 319
 
320 320
     /**
321 321
      * Calculates the position of the touch event.
@@ -331,7 +331,7 @@ class VideoTransform extends Component<Props, State> {
331 331
         };
332 332
     }
333 333
 
334
-    _getTransformStyle: () => Object
334
+    _getTransformStyle: () => Object;
335 335
 
336 336
     /**
337 337
      * Generates a transform style object to be used on the component.
@@ -460,7 +460,7 @@ class VideoTransform extends Component<Props, State> {
460 460
         }
461 461
     }
462 462
 
463
-    _onGesture: (string, ?Object | number) => void
463
+    _onGesture: (string, ?Object | number) => void;
464 464
 
465 465
     /**
466 466
      * Handles gestures and converts them to transforms.
@@ -515,7 +515,7 @@ class VideoTransform extends Component<Props, State> {
515 515
         this.lastTap = 0;
516 516
     }
517 517
 
518
-    _onLayout: Object => void
518
+    _onLayout: Object => void;
519 519
 
520 520
     /**
521 521
      * Callback for the onLayout of the component.
@@ -535,7 +535,7 @@ class VideoTransform extends Component<Props, State> {
535 535
         });
536 536
     }
537 537
 
538
-    _onMoveShouldSetPanResponder: (Object, Object) => boolean
538
+    _onMoveShouldSetPanResponder: (Object, Object) => boolean;
539 539
 
540 540
     /**
541 541
      * Function to decide whether the responder should respond to a move event.
@@ -551,7 +551,7 @@ class VideoTransform extends Component<Props, State> {
551 551
                 || gestureState.numberActiveTouches === 2);
552 552
     }
553 553
 
554
-    _onPanResponderGrant: (Object, Object) => void
554
+    _onPanResponderGrant: (Object, Object) => void;
555 555
 
556 556
     /**
557 557
      * Calculates the initial touch distance.
@@ -571,7 +571,7 @@ class VideoTransform extends Component<Props, State> {
571 571
         }
572 572
     }
573 573
 
574
-    _onPanResponderMove: (Object, Object) => void
574
+    _onPanResponderMove: (Object, Object) => void;
575 575
 
576 576
     /**
577 577
      * Handles the PanResponder move (touch move) event.
@@ -615,7 +615,7 @@ class VideoTransform extends Component<Props, State> {
615 615
         }
616 616
     }
617 617
 
618
-    _onPanResponderRelease: () => void
618
+    _onPanResponderRelease: () => void;
619 619
 
620 620
     /**
621 621
      * Handles the PanResponder gesture end event.
@@ -631,7 +631,7 @@ class VideoTransform extends Component<Props, State> {
631 631
         delete this.initialPosition;
632 632
     }
633 633
 
634
-    _onStartShouldSetPanResponder: () => boolean
634
+    _onStartShouldSetPanResponder: () => boolean;
635 635
 
636 636
     /**
637 637
      * Function to decide whether the responder should respond to a start

+ 17
- 17
react/features/base/media/components/web/Video.js Näytä tiedosto

@@ -46,82 +46,82 @@ type Props = {
46 46
     eventHandlers?: {|
47 47
 
48 48
         /**
49
-         * onAbort event handler.
49
+         * OnAbort event handler.
50 50
          */
51 51
         onAbort?: ?Function,
52 52
 
53 53
         /**
54
-         * onCanPlay event handler.
54
+         * OnCanPlay event handler.
55 55
          */
56 56
         onCanPlay?: ?Function,
57 57
 
58 58
         /**
59
-         * onCanPlayThrough event handler.
59
+         * OnCanPlayThrough event handler.
60 60
          */
61 61
         onCanPlayThrough?: ?Function,
62 62
 
63 63
         /**
64
-         * onEmptied event handler.
64
+         * OnEmptied event handler.
65 65
          */
66 66
         onEmptied?: ?Function,
67 67
 
68 68
         /**
69
-         * onEnded event handler.
69
+         * OnEnded event handler.
70 70
          */
71 71
         onEnded?: ?Function,
72 72
 
73 73
         /**
74
-         * onError event handler.
74
+         * OnError event handler.
75 75
          */
76 76
         onError?: ?Function,
77 77
 
78 78
         /**
79
-         * onLoadedData event handler.
79
+         * OnLoadedData event handler.
80 80
          */
81 81
         onLoadedData?: ?Function,
82 82
 
83 83
         /**
84
-         * onLoadedMetadata event handler.
84
+         * OnLoadedMetadata event handler.
85 85
          */
86 86
         onLoadedMetadata?: ?Function,
87 87
 
88 88
         /**
89
-         * onLoadStart event handler.
89
+         * OnLoadStart event handler.
90 90
          */
91 91
         onLoadStart?: ?Function,
92 92
 
93 93
         /**
94
-         * onPause event handler.
94
+         * OnPause event handler.
95 95
          */
96 96
         onPause?: ?Function,
97 97
 
98 98
         /**
99
-         * onPlay event handler.
99
+         * OnPlay event handler.
100 100
          */
101 101
         onPlay?: ?Function,
102 102
 
103 103
         /**
104
-         * onPlaying event handler.
104
+         * OnPlaying event handler.
105 105
          */
106 106
         onPlaying?: ?Function,
107 107
 
108 108
         /**
109
-         * onRateChange event handler.
109
+         * OnRateChange event handler.
110 110
          */
111 111
         onRateChange?: ?Function,
112 112
 
113 113
         /**
114
-         * onStalled event handler.
114
+         * OnStalled event handler.
115 115
          */
116 116
         onStalled?: ?Function,
117 117
 
118 118
         /**
119
-         * onSuspend event handler.
119
+         * OnSuspend event handler.
120 120
          */
121 121
         onSuspend?: ?Function,
122 122
 
123 123
         /**
124
-         * onWaiting event handler.
124
+         * OnWaiting event handler.
125 125
          */
126 126
         onWaiting?: ?Function
127 127
     |},
@@ -140,7 +140,7 @@ type Props = {
140 140
 /**
141 141
  * Component that renders a video element for a passed in video track.
142 142
  *
143
- * @extends Component
143
+ * @augments Component
144 144
  */
145 145
 class Video extends Component<Props> {
146 146
     _videoElement: ?Object;

+ 17
- 17
react/features/base/media/components/web/VideoTrack.js Näytä tiedosto

@@ -37,82 +37,82 @@ type Props = AbstractVideoTrackProps & {
37 37
     eventHandlers?: {|
38 38
 
39 39
         /**
40
-         * onAbort event handler.
40
+         * OnAbort event handler.
41 41
          */
42 42
         onAbort?: ?Function,
43 43
 
44 44
         /**
45
-         * onCanPlay event handler.
45
+         * OnCanPlay event handler.
46 46
          */
47 47
         onCanPlay?: ?Function,
48 48
 
49 49
         /**
50
-         * onCanPlayThrough event handler.
50
+         * OnCanPlayThrough event handler.
51 51
          */
52 52
         onCanPlayThrough?: ?Function,
53 53
 
54 54
         /**
55
-         * onEmptied event handler.
55
+         * OnEmptied event handler.
56 56
          */
57 57
         onEmptied?: ?Function,
58 58
 
59 59
         /**
60
-         * onEnded event handler.
60
+         * OnEnded event handler.
61 61
          */
62 62
         onEnded?: ?Function,
63 63
 
64 64
         /**
65
-         * onError event handler.
65
+         * OnError event handler.
66 66
          */
67 67
         onError?: ?Function,
68 68
 
69 69
         /**
70
-         * onLoadedData event handler.
70
+         * OnLoadedData event handler.
71 71
          */
72 72
         onLoadedData?: ?Function,
73 73
 
74 74
         /**
75
-         * onLoadedMetadata event handler.
75
+         * OnLoadedMetadata event handler.
76 76
          */
77 77
         onLoadedMetadata?: ?Function,
78 78
 
79 79
         /**
80
-         * onLoadStart event handler.
80
+         * OnLoadStart event handler.
81 81
          */
82 82
         onLoadStart?: ?Function,
83 83
 
84 84
         /**
85
-         * onPause event handler.
85
+         * OnPause event handler.
86 86
          */
87 87
         onPause?: ?Function,
88 88
 
89 89
         /**
90
-         * onPlay event handler.
90
+         * OnPlay event handler.
91 91
          */
92 92
         onPlay?: ?Function,
93 93
 
94 94
         /**
95
-         * onPlaying event handler.
95
+         * OnPlaying event handler.
96 96
          */
97 97
         onPlaying?: ?Function,
98 98
 
99 99
         /**
100
-         * onRateChange event handler.
100
+         * OnRateChange event handler.
101 101
          */
102 102
         onRateChange?: ?Function,
103 103
 
104 104
         /**
105
-         * onStalled event handler.
105
+         * OnStalled event handler.
106 106
          */
107 107
         onStalled?: ?Function,
108 108
 
109 109
         /**
110
-         * onSuspend event handler.
110
+         * OnSuspend event handler.
111 111
          */
112 112
         onSuspend?: ?Function,
113 113
 
114 114
         /**
115
-         * onWaiting event handler.
115
+         * OnWaiting event handler.
116 116
          */
117 117
         onWaiting?: ?Function,
118 118
     |},
@@ -132,7 +132,7 @@ type Props = AbstractVideoTrackProps & {
132 132
  * Component that renders a video element for a passed in video track and
133 133
  * notifies the store when the video has started playing.
134 134
  *
135
- * @extends AbstractVideoTrack
135
+ * @augments AbstractVideoTrack
136 136
  */
137 137
 class VideoTrack extends AbstractVideoTrack<Props> {
138 138
     /**

+ 2
- 2
react/features/base/participants/components/ParticipantView.native.js Näytä tiedosto

@@ -106,7 +106,7 @@ type Props = {
106 106
      * The test hint id which can be used to locate the {@code ParticipantView}
107 107
      * on the jitsi-meet-torture side. If not provided, the
108 108
      * {@code participantId} with the following format will be used:
109
-     * {@code `org.jitsi.meet.Participant#${participantId}`}
109
+     * {@code `org.jitsi.meet.Participant#${participantId}`}.
110 110
      */
111 111
     testHintId: ?string,
112 112
 
@@ -133,7 +133,7 @@ type Props = {
133 133
  * Implements a React Component which depicts a specific participant's avatar
134 134
  * and video.
135 135
  *
136
- * @extends Component
136
+ * @augments Component
137 137
  */
138 138
 class ParticipantView extends Component<Props> {
139 139
 

+ 1
- 1
react/features/base/participants/components/styles.js Näytä tiedosto

@@ -37,7 +37,7 @@ export default {
37 37
     },
38 38
 
39 39
     /**
40
-     * {@code ParticipantView} style.
40
+     * {@code ParticipantView} Style.
41 41
      */
42 42
     participantView: {
43 43
         alignItems: 'stretch',

+ 2
- 0
react/features/base/participants/constants.js Näytä tiedosto

@@ -47,6 +47,7 @@ export const MAX_DISPLAY_NAME_LENGTH = 50;
47 47
 /**
48 48
  * The identifier of the sound to be played when new remote participant joins
49 49
  * the room.
50
+ *
50 51
  * @type {string}
51 52
  */
52 53
 export const PARTICIPANT_JOINED_SOUND_ID = 'PARTICIPANT_JOINED_SOUND';
@@ -54,6 +55,7 @@ export const PARTICIPANT_JOINED_SOUND_ID = 'PARTICIPANT_JOINED_SOUND';
54 55
 /**
55 56
  * The identifier of the sound to be played when remote participant leaves
56 57
  * the room.
58
+ *
57 59
  * @type {string}
58 60
  */
59 61
 export const PARTICIPANT_LEFT_SOUND_ID = 'PARTICIPANT_LEFT_SOUND';

+ 1
- 0
react/features/base/participants/reducer.js Näytä tiedosto

@@ -20,6 +20,7 @@ declare var interfaceConfig: Object;
20 20
 
21 21
 /**
22 22
  * Participant object.
23
+ *
23 24
  * @typedef {Object} Participant
24 25
  * @property {string} id - Participant ID.
25 26
  * @property {string} name - Participant name.

+ 1
- 1
react/features/base/popover/components/Popover.web.js Näytä tiedosto

@@ -86,7 +86,7 @@ type State = {
86 86
  * Implements a React {@code Component} for showing an {@code InlineDialog} on
87 87
  * mouseenter of the trigger and contents, and hiding the dialog on mouseleave.
88 88
  *
89
- * @extends Component
89
+ * @augments Component
90 90
  */
91 91
 class Popover extends Component<Props, State> {
92 92
     /**

+ 5
- 5
react/features/base/premeeting/components/web/ActionButton.js Näytä tiedosto

@@ -53,27 +53,27 @@ type Props = {
53 53
     onOptionsClick?: Function,
54 54
 
55 55
     /**
56
-     * to navigate with the keyboard.
56
+     * To navigate with the keyboard.
57 57
      */
58 58
     tabIndex?: number,
59 59
 
60 60
     /**
61
-     * to give a role to the icon.
61
+     * To give a role to the icon.
62 62
      */
63 63
     role?: string,
64 64
 
65 65
     /**
66
-     * to give a aria-pressed to the icon.
66
+     * To give a aria-pressed to the icon.
67 67
      */
68 68
     ariaPressed?: boolean,
69 69
 
70 70
     /**
71
-     * The Label of the current element
71
+     * The Label of the current element.
72 72
      */
73 73
     ariaLabel?: string,
74 74
 
75 75
     /**
76
-     * The Label of the child element
76
+     * The Label of the child element.
77 77
      */
78 78
     ariaDropDownLabel?: string
79 79
 };

+ 1
- 1
react/features/base/premeeting/components/web/InputField.js Näytä tiedosto

@@ -42,7 +42,7 @@ type Props = {
42 42
     readOnly?: boolean,
43 43
 
44 44
     /**
45
-     * The field type (e.g. text, password...etc).
45
+     * The field type (e.g. Text, password...etc).
46 46
      */
47 47
     type: string,
48 48
 

+ 2
- 2
react/features/base/premeeting/components/web/PreMeetingScreen.js Näytä tiedosto

@@ -38,12 +38,12 @@ type Props = {
38 38
     name?: string,
39 39
 
40 40
     /**
41
-     * Indicates whether the copy url button should be shown
41
+     * Indicates whether the copy url button should be shown.
42 42
      */
43 43
     showCopyUrlButton: boolean,
44 44
 
45 45
     /**
46
-     * Indicates whether the device status should be shown
46
+     * Indicates whether the device status should be shown.
47 47
      */
48 48
     showDeviceStatus: boolean,
49 49
 

+ 1
- 1
react/features/base/premeeting/components/web/Preview.js Näytä tiedosto

@@ -12,7 +12,7 @@ import { getLocalVideoTrack } from '../../../tracks';
12 12
 export type Props = {
13 13
 
14 14
     /**
15
-     * Local participant id
15
+     * Local participant id.
16 16
      */
17 17
     _participantId: string,
18 18
 

+ 2
- 4
react/features/base/premeeting/functions.js Näytä tiedosto

@@ -115,10 +115,8 @@ function _getLevel(thresholds, value, descending = true) {
115 115
 /**
116 116
  * Returns the connection details from the test results.
117 117
  *
118
- * @param {{
119
- *   fractionalLoss: number,
120
- *   throughput: number
121
- * }} testResults - The state of the app.
118
+ * @param {number} testResults.fractionalLoss - Factional loss.
119
+ * @param {number} testResults.throughput - Throughput.
122 120
  *
123 121
  * @returns {{
124 122
  *   connectionType: string,

+ 12
- 12
react/features/base/react/Types.js Näytä tiedosto

@@ -13,7 +13,7 @@ export type Item = {
13 13
     avatar: ?string,
14 14
 
15 15
     /**
16
-     * the color base of the avatar
16
+     * The color base of the avatar.
17 17
      */
18 18
     colorBase: string,
19 19
 
@@ -28,46 +28,46 @@ export type Item = {
28 28
     id: Object | string,
29 29
 
30 30
     /**
31
-     * Item title
31
+     * Item title.
32 32
      */
33 33
     title: string,
34 34
 
35 35
     /**
36
-     * Item url
36
+     * Item url.
37 37
      */
38 38
     url: string,
39 39
 
40 40
     /**
41
-     * lines[0] - date
41
+     * Lines[0] - date
42 42
      * lines[1] - duration
43
-     * lines[2] - server name
43
+     * lines[2] - server name.
44 44
      */
45 45
     lines: Array<string>
46 46
 }
47 47
 
48 48
 /**
49
- * web implementation of section data for NavigateSectionList
49
+ * Web implementation of section data for NavigateSectionList.
50 50
  */
51 51
 export type Section = {
52 52
 
53 53
     /**
54
-     * section title
54
+     * Section title.
55 55
      */
56 56
     title: string,
57 57
 
58 58
     /**
59
-     * unique key for the section
59
+     * Unique key for the section.
60 60
      */
61 61
     key?: string,
62 62
 
63 63
     /**
64
-     * Array of items in the section
64
+     * Array of items in the section.
65 65
      */
66 66
     data: $ReadOnlyArray<Item>,
67 67
 
68 68
     /**
69 69
      * Optional properties added only to fix some flow errors thrown by React
70
-     * SectionList
70
+     * SectionList.
71 71
      */
72 72
     ItemSeparatorComponent?: ?ComponentType<any>,
73 73
 
@@ -78,12 +78,12 @@ export type Section = {
78 78
 }
79 79
 
80 80
 /**
81
- * native implementation of section data for NavigateSectionList
81
+ * Native implementation of section data for NavigateSectionList.
82 82
  *
83 83
  * When react-native's SectionList component parses through an array of sections
84 84
  * it passes the section nested within the section property of another object
85 85
  * to the renderSection method (on web for our own implementation of SectionList
86
- * this nesting is not implemented as there is no need for nesting)
86
+ * this nesting is not implemented as there is no need for nesting).
87 87
  */
88 88
 export type SetionListSection = {
89 89
     section: Section

+ 2
- 2
react/features/base/react/components/AbstractContainer.js Näytä tiedosto

@@ -5,7 +5,7 @@ import React, { Component } from 'react';
5 5
 import { getFixedPlatformStyle } from '../../styles';
6 6
 
7 7
 /**
8
- * {@code AbstractContainer} component's property types.
8
+ * {@code AbstractContainer} Component's property types.
9 9
  */
10 10
 export type Props = {
11 11
 
@@ -69,7 +69,7 @@ export type Props = {
69 69
  * Abstract (base) class for container of React {@link Component} children with
70 70
  * a style.
71 71
  *
72
- * @extends Component
72
+ * @augments Component
73 73
  */
74 74
 export default class AbstractContainer<P: Props> extends Component<P> {
75 75
     /**

+ 1
- 1
react/features/base/react/components/NavigateSectionList.js Näytä tiedosto

@@ -47,7 +47,7 @@ type Props = {
47 47
     renderListEmptyComponent: Function,
48 48
 
49 49
     /**
50
-     * An array of sections
50
+     * An array of sections.
51 51
      */
52 52
     sections: Array<Section>
53 53
 };

+ 1
- 1
react/features/base/react/components/native/AvatarListItem.js Näytä tiedosto

@@ -43,7 +43,7 @@ type Props = {
43 43
     children?: React$Node,
44 44
 
45 45
     /**
46
-     * item containing data to be rendered
46
+     * Item containing data to be rendered.
47 47
      */
48 48
     item: Item,
49 49
 

+ 1
- 1
react/features/base/react/components/native/BackButton.js Näytä tiedosto

@@ -8,7 +8,7 @@ import { Icon, IconArrowBack } from '../../../icons';
8 8
 import { connect } from '../../../redux';
9 9
 
10 10
 /**
11
- * The type of the React {@code Component} props of {@link BackButton}
11
+ * The type of the React {@code Component} props of {@link BackButton}.
12 12
  */
13 13
 type Props = {
14 14
 

+ 1
- 1
react/features/base/react/components/native/Button.js Näytä tiedosto

@@ -16,7 +16,7 @@ type Props = {
16 16
     onValueChange: Function,
17 17
 
18 18
     /**
19
-     * The component's external style
19
+     * The component's external style.
20 20
      */
21 21
     style: Object
22 22
 };

+ 1
- 1
react/features/base/react/components/native/Container.js Näytä tiedosto

@@ -22,7 +22,7 @@ type Props = AbstractProps & {
22 22
 /**
23 23
  * Represents a container of React Native/mobile {@link Component} children.
24 24
  *
25
- * @extends AbstractContainer
25
+ * @augments AbstractContainer
26 26
  */
27 27
 export default class Container<P: Props> extends AbstractContainer<P> {
28 28
     /**

+ 1
- 1
react/features/base/react/components/native/ForwardButton.js Näytä tiedosto

@@ -8,7 +8,7 @@ import { translate } from '../../../i18n';
8 8
 import { connect } from '../../../redux';
9 9
 
10 10
 /**
11
- * The type of the React {@code Component} props of {@link ForwardButton}
11
+ * The type of the React {@code Component} props of {@link ForwardButton}.
12 12
  */
13 13
 type Props = {
14 14
 

+ 2
- 2
react/features/base/react/components/native/Header.js Näytä tiedosto

@@ -17,7 +17,7 @@ const STATUSBAR_DARK = 'dark-content';
17 17
 const STATUSBAR_LIGHT = 'light-content';
18 18
 
19 19
 /**
20
- * The type of the React {@code Component} props of {@link Header}
20
+ * The type of the React {@code Component} props of {@link Header}.
21 21
  */
22 22
 type Props = {
23 23
 
@@ -27,7 +27,7 @@ type Props = {
27 27
     children: Node,
28 28
 
29 29
     /**
30
-     * The component's external style
30
+     * The component's external style.
31 31
      */
32 32
     style: Object,
33 33
 

+ 1
- 1
react/features/base/react/components/native/HeaderLabel.js Näytä tiedosto

@@ -8,7 +8,7 @@ import { translate } from '../../../i18n';
8 8
 import { connect } from '../../../redux';
9 9
 
10 10
 /**
11
- * The type of the React {@code Component} props of {@link HeaderLabel}
11
+ * The type of the React {@code Component} props of {@link HeaderLabel}.
12 12
  */
13 13
 type Props = {
14 14
 

+ 1
- 1
react/features/base/react/components/native/HeaderWithNavigation.js Näytä tiedosto

@@ -23,7 +23,7 @@ type Props = {
23 23
     forwardLabelKey: ?string,
24 24
 
25 25
     /**
26
-     * The i18n key of the header label (title)
26
+     * The i18n key of the header label (title).
27 27
      */
28 28
     headerLabelKey: ?string,
29 29
 

+ 2
- 2
react/features/base/react/components/native/Image.js Näytä tiedosto

@@ -14,7 +14,7 @@ type Props = {
14 14
     src: Object,
15 15
 
16 16
     /**
17
-     * The component's external style
17
+     * The component's external style.
18 18
      */
19 19
     style: Object
20 20
 };
@@ -22,7 +22,7 @@ type Props = {
22 22
 /**
23 23
  * A component rendering aN IMAGE.
24 24
  *
25
- * @extends Component
25
+ * @augments Component
26 26
  */
27 27
 export default class ImageImpl extends Component<Props> {
28 28
     /**

+ 1
- 1
react/features/base/react/components/native/Modal.js Näytä tiedosto

@@ -19,7 +19,7 @@ type Props = {
19 19
      * be an unnecessary duplication and probably an unmaintained list after a
20 20
      * while.
21 21
      *
22
-     * See list: https://facebook.github.io/react-native/docs/modal
22
+     * See list: https://facebook.github.io/react-native/docs/modal.
23 23
      */
24 24
 };
25 25
 

+ 2
- 2
react/features/base/react/components/native/NavigateSectionListEmptyComponent.js Näytä tiedosto

@@ -18,9 +18,9 @@ type Props = {
18 18
 
19 19
 /**
20 20
  * Implements a React Native {@link Component} that is to be displayed when the
21
- * list is empty
21
+ * list is empty.
22 22
  *
23
- * @extends Component
23
+ * @augments Component
24 24
  */
25 25
 class NavigateSectionListEmptyComponent extends Component<Props> {
26 26
     /**

+ 3
- 3
react/features/base/react/components/native/NavigateSectionListItem.js Näytä tiedosto

@@ -12,7 +12,7 @@ import styles from './styles';
12 12
 type Props = {
13 13
 
14 14
     /**
15
-     * item containing data to be rendered
15
+     * Item containing data to be rendered.
16 16
      */
17 17
     item: Item,
18 18
 
@@ -34,9 +34,9 @@ type Props = {
34 34
 
35 35
 /**
36 36
  * Implements a React/Native {@link Component} that renders the Navigate Section
37
- * List Item
37
+ * List Item.
38 38
  *
39
- * @extends Component
39
+ * @augments Component
40 40
  */
41 41
 export default class NavigateSectionListItem extends Component<Props> {
42 42
     /**

+ 3
- 3
react/features/base/react/components/native/NavigateSectionListSectionHeader.js Näytä tiedosto

@@ -11,16 +11,16 @@ import styles from './styles';
11 11
 type Props = {
12 12
 
13 13
     /**
14
-     * A section containing the data to be rendered
14
+     * A section containing the data to be rendered.
15 15
      */
16 16
     section: SetionListSection
17 17
 }
18 18
 
19 19
 /**
20 20
  * Implements a React/Native {@link Component} that renders the section header
21
- * of the list
21
+ * of the list.
22 22
  *
23
- * @extends Component
23
+ * @augments Component
24 24
  */
25 25
 export default class NavigateSectionListSectionHeader extends Component<Props> {
26 26
     /**

+ 1
- 1
react/features/base/react/components/native/PagedList.js Näytä tiedosto

@@ -63,7 +63,7 @@ type State = {
63 63
 /**
64 64
  * A component that renders a paged list.
65 65
  *
66
- * @extends PagedList
66
+ * @augments PagedList
67 67
  */
68 68
 class PagedList extends Component<Props, State> {
69 69
 

+ 1
- 1
react/features/base/react/components/native/Pressable.js Näytä tiedosto

@@ -10,7 +10,7 @@ type Props = {
10 10
     children: React$Node,
11 11
 
12 12
     /**
13
-     * Called when the touch is released, but not if cancelled (e.g. by a scroll
13
+     * Called when the touch is released, but not if cancelled (e.g. By a scroll
14 14
      * that steals the responder lock).
15 15
      */
16 16
     onPress: Function

+ 5
- 5
react/features/base/react/components/native/SectionList.js Näytä tiedosto

@@ -11,7 +11,7 @@ import type { Section } from '../../Types';
11 11
 import styles from './styles';
12 12
 
13 13
 /**
14
- * The type of the React {@code Component} props of {@link SectionList}
14
+ * The type of the React {@code Component} props of {@link SectionList}.
15 15
  */
16 16
 type Props = {
17 17
 
@@ -30,7 +30,7 @@ type Props = {
30 30
 
31 31
     /**
32 32
     *
33
-    * Functions that defines what happens when the list is pulled for refresh
33
+    * Functions that defines what happens when the list is pulled for refresh.
34 34
     */
35 35
     onRefresh: Function,
36 36
 
@@ -54,7 +54,7 @@ type Props = {
54 54
     renderSectionHeader: Object,
55 55
 
56 56
     /**
57
-     * An array of sections
57
+     * An array of sections.
58 58
      */
59 59
     sections: Array<Section>
60 60
 };
@@ -62,9 +62,9 @@ type Props = {
62 62
 /**
63 63
  * Implements a React Native {@link Component} that wraps the React Native
64 64
  * SectionList component in a SafeAreaView so that it renders the sectionlist
65
- * within the safe area of the device
65
+ * within the safe area of the device.
66 66
  *
67
- * @extends Component
67
+ * @augments Component
68 68
  */
69 69
 export default class SectionList extends Component<Props> {
70 70
     /**

+ 1
- 1
react/features/base/react/components/native/SlidingView.js Näytä tiedosto

@@ -31,7 +31,7 @@ type Props = {
31 31
 
32 32
     /**
33 33
      * Position of the SlidingView: 'left', 'right', 'top', 'bottom'.
34
-     * later).
34
+     * Later).
35 35
      */
36 36
     position: string,
37 37
 

+ 1
- 1
react/features/base/react/components/native/headerstyles.js Näytä tiedosto

@@ -19,7 +19,7 @@ ColorSchemeRegistry.register('Header', {
19 19
     },
20 20
 
21 21
     /**
22
-     * Platform specific header button (e.g. back, menu, etc).
22
+     * Platform specific header button (e.g. Back, menu, etc).
23 23
      */
24 24
     headerButtonIcon: {
25 25
         alignSelf: 'center',

+ 1
- 1
react/features/base/react/components/web/BaseIndicator.js Näytä tiedosto

@@ -62,7 +62,7 @@ type Props = {
62 62
 /**
63 63
  * React {@code Component} for showing an icon with a tooltip.
64 64
  *
65
- * @extends Component
65
+ * @augments Component
66 66
  */
67 67
 class BaseIndicator extends Component<Props> {
68 68
     /**

+ 1
- 1
react/features/base/react/components/web/Container.js Näytä tiedosto

@@ -6,7 +6,7 @@ import type { Props } from '../AbstractContainer';
6 6
 /**
7 7
  * Represents a container of React/Web {@link Component} children with a style.
8 8
  *
9
- * @extends AbstractContainer
9
+ * @augments AbstractContainer
10 10
  */
11 11
 export default class Container<P: Props> extends AbstractContainer<P> {
12 12
     /**

+ 1
- 1
react/features/base/react/components/web/Image.js Näytä tiedosto

@@ -4,7 +4,7 @@ import React, { Component } from 'react';
4 4
  * Implements a React/Web {@link Component} for displaying image
5 5
  * in order to facilitate cross-platform source code.
6 6
  *
7
- * @extends Component
7
+ * @augments Component
8 8
  */
9 9
 export default class Image extends Component {
10 10
     /**

+ 1
- 1
react/features/base/react/components/web/InlineDialogFailure.js Näytä tiedosto

@@ -23,7 +23,7 @@ type Props = {
23 23
     t: Function,
24 24
 
25 25
     /**
26
-     * Indicates whether the support link should be shown in case of an error
26
+     * Indicates whether the support link should be shown in case of an error.
27 27
      */
28 28
      showSupportLink: Boolean,
29 29
 };

+ 2
- 2
react/features/base/react/components/web/MeetingsList.js Näytä tiedosto

@@ -84,7 +84,7 @@ function _toTimeString(times) {
84 84
  * Implements a React/Web {@link Component} for displaying a list with
85 85
  * meetings.
86 86
  *
87
- * @extends Component
87
+ * @augments Component
88 88
  */
89 89
 class MeetingsList extends Component<Props> {
90 90
     /**
@@ -108,7 +108,7 @@ class MeetingsList extends Component<Props> {
108 108
         const { listEmptyComponent, meetings, t } = this.props;
109 109
 
110 110
         /**
111
-         * If there are no recent meetings we don't want to display anything
111
+         * If there are no recent meetings we don't want to display anything.
112 112
          */
113 113
         if (meetings) {
114 114
             return (

+ 2
- 2
react/features/base/react/components/web/MultiSelectAutocomplete.js Näytä tiedosto

@@ -22,7 +22,7 @@ type Props = {
22 22
 
23 23
     /**
24 24
      * Optional footer to show as a last element in the results.
25
-     * Should be of type {content: <some content>}
25
+     * Should be of type {content: <some content>}.
26 26
      */
27 27
     footer: Object,
28 28
 
@@ -73,7 +73,7 @@ type Props = {
73 73
     shouldFocus: boolean,
74 74
 
75 75
     /**
76
-     * Indicates whether the support link should be shown in case of an error
76
+     * Indicates whether the support link should be shown in case of an error.
77 77
      */
78 78
     showSupportLink: Boolean,
79 79
 };

+ 5
- 4
react/features/base/react/components/web/NavigateSectionListItem.js Näytä tiedosto

@@ -19,16 +19,16 @@ type Props = {
19 19
     onPress: ?Function,
20 20
 
21 21
     /**
22
-     * A item containing data to be rendered
22
+     * A item containing data to be rendered.
23 23
      */
24 24
     item: Item
25 25
 };
26 26
 
27 27
 /**
28 28
  * Implements a React/Web {@link Component} for displaying an item in a
29
- * NavigateSectionList
29
+ * NavigateSectionList.
30 30
  *
31
- * @extends Component
31
+ * @augments Component
32 32
  */
33 33
 export default class NavigateSectionListItem<P: Props>
34 34
     extends Component<P> {
@@ -46,7 +46,8 @@ export default class NavigateSectionListItem<P: Props>
46 46
          * Initializes the date and duration of the conference to the an empty
47 47
          * string in case for some reason there is an error where the item data
48 48
          * lines doesn't contain one or both of those values (even though this
49
-         * unlikely the app shouldn't break because of it)
49
+         * unlikely the app shouldn't break because of it).
50
+         *
50 51
          * @type {string}
51 52
          */
52 53
         let date = '';

+ 3
- 3
react/features/base/react/components/web/NavigateSectionListSectionHeader.js Näytä tiedosto

@@ -9,16 +9,16 @@ import Text from './Text';
9 9
 type Props = {
10 10
 
11 11
     /**
12
-     * A section containing the data to be rendered
12
+     * A section containing the data to be rendered.
13 13
      */
14 14
     section: Section
15 15
 }
16 16
 
17 17
 /**
18 18
  * Implements a React/Web {@link Component} that renders the section header of
19
- * the list
19
+ * the list.
20 20
  *
21
- * @extends Component
21
+ * @augments Component
22 22
  */
23 23
 export default class NavigateSectionListSectionHeader extends Component<Props> {
24 24
     /**

+ 6
- 6
react/features/base/react/components/web/SectionList.js Näytä tiedosto

@@ -20,22 +20,22 @@ type Props = {
20 20
     keyExtractor: Function,
21 21
 
22 22
     /**
23
-     * Returns a React component that renders each Item in the list
23
+     * Returns a React component that renders each Item in the list.
24 24
      */
25 25
     renderItem: Function,
26 26
 
27 27
     /**
28
-     * Returns a React component that renders the header for every section
28
+     * Returns a React component that renders the header for every section.
29 29
      */
30 30
     renderSectionHeader: Function,
31 31
 
32 32
     /**
33
-     * An array of sections
33
+     * An array of sections.
34 34
      */
35 35
     sections: Array<Section>,
36 36
 
37 37
     /**
38
-     * defines what happens when  an item in the section list is clicked
38
+     * Defines what happens when  an item in the section list is clicked.
39 39
      */
40 40
     onItemClick: Function
41 41
 };
@@ -45,7 +45,7 @@ type Props = {
45 45
  * sections similar to React Native's {@code SectionList} in order to
46 46
  * facilitate cross-platform source code.
47 47
  *
48
- * @extends Component
48
+ * @augments Component
49 49
  */
50 50
 export default class SectionList extends Component<Props> {
51 51
     /**
@@ -63,7 +63,7 @@ export default class SectionList extends Component<Props> {
63 63
         } = this.props;
64 64
 
65 65
         /**
66
-         * If there are no recent items we don't want to display anything
66
+         * If there are no recent items we don't want to display anything.
67 67
          */
68 68
         if (sections) {
69 69
             return (

+ 1
- 1
react/features/base/react/components/web/Switch.js Näytä tiedosto

@@ -6,7 +6,7 @@ import React, { Component } from 'react';
6 6
 type Props = {
7 7
 
8 8
     /**
9
-     * ID of the toggle
9
+     * ID of the toggle.
10 10
      */
11 11
     id: string,
12 12
 

+ 1
- 1
react/features/base/react/components/web/Text.js Näytä tiedosto

@@ -4,7 +4,7 @@ import React, { Component } from 'react';
4 4
  * Implements a React/Web {@link Component} for displaying text similar to React
5 5
  * Native's {@code Text} in order to facilitate cross-platform source code.
6 6
  *
7
- * @extends Component
7
+ * @augments Component
8 8
  */
9 9
 export default class Text extends Component {
10 10
     /**

+ 1
- 1
react/features/base/redux/StateListenerRegistry.js Näytä tiedosto

@@ -44,7 +44,7 @@ type Selector = (state: Object, prevSelection: any) => any;
44 44
 type RegistrationOptions = {
45 45
 
46 46
     /**
47
-     * @property {boolean} [deepEquals=false] - whether or not a deep equals check should be performed on the selection
47
+     * @property {boolean} [deepEquals=false] - Whether or not a deep equals check should be performed on the selection
48 48
      * returned by {@link Selector}.
49 49
      */
50 50
     deepEquals: ?boolean

+ 7
- 9
react/features/base/settings/functions.any.js Näytä tiedosto

@@ -10,17 +10,15 @@ import { DEFAULT_SERVER_URL } from './constants';
10 10
  * a precedence among the values specified by JWT, URL, settings,
11 11
  * and config.
12 12
  *
13
- * @param {Object|Function} stateful - The redux state object or
14
- * {@code getState} function.
13
+ * @param {Object|Function} stateful - The redux state object or {@code getState} function.
15 14
  * @param {string} propertyName - The name of the
16 15
  * configuration/preference/setting (property) to retrieve.
17
- * @param {{
18
- *     config: boolean,
19
- *     jwt: boolean,
20
- *     settings: boolean,
21
- *     urlParams: boolean
22
- * }} [sources] - A set/structure of {@code boolean} flags indicating the
23
- * configuration/preference/setting sources to consider/retrieve values from.
16
+ * @param {Object} sources - Flags indicating the configuration/preference/setting sources to
17
+ * consider/retrieve values from.
18
+ * @param {boolean} sources.config - Config.
19
+ * @param {boolean} jwt - JWT.
20
+ * @param {boolean} settings - Settings.
21
+ * @param {boolean} urlParams - URL parameters.
24 22
  * @returns {any}
25 23
  */
26 24
 export function getPropertyValue(

+ 1
- 1
react/features/base/testing/components/AbstractTestHint.js Näytä tiedosto

@@ -14,7 +14,7 @@ export type TestHintProps = {
14 14
 
15 15
     /**
16 16
      * The indicator which determines whether the test mode is enabled.
17
-     * {@link TestHint} components are rendered only if this flag is set to
17
+     * {@link TestHint} Components are rendered only if this flag is set to
18 18
      * {@code true}.
19 19
      */
20 20
     _testModeEnabled: boolean,

+ 1
- 1
react/features/base/testing/components/TestConnectionInfo.js Näytä tiedosto

@@ -20,7 +20,7 @@ type Props = {
20 20
      * are the possible values:
21 21
      * 'conference.connectionEstablished'
22 22
      * 'conference.connectionInterrupted'
23
-     * 'conference.connectionRestored'
23
+     * 'conference.connectionRestored'.
24 24
      */
25 25
     _conferenceConnectionState: string,
26 26
 

+ 0
- 0
react/features/base/toolbox/components/AbstractButton.js Näytä tiedosto


Some files were not shown because too many files changed in this diff

Loading…
Peruuta
Tallenna