瀏覽代碼

Fixes jshint warnings.

j8
Boris Grozev 9 年之前
父節點
當前提交
fdf73a9b4e
共有 3 個檔案被更改,包括 9 行新增4 行删除
  1. 4
    2
      interface_config.js
  2. 2
    1
      modules/UI/toolbars/ToolbarToggler.js
  3. 3
    1
      modules/UI/util/UIUtil.js

+ 4
- 2
interface_config.js 查看文件

@@ -16,8 +16,10 @@ var interfaceConfig = {
16 16
     APP_NAME: "Jitsi Meet",
17 17
     INVITATION_POWERED_BY: true,
18 18
     ACTIVE_SPEAKER_AVATAR_SIZE: 100,
19
-    TOOLBAR_BUTTONS: ['authentication', 'microphone', 'camera', 'desktop', 'recording', 'security', 'invite',
20
-        'chat', 'prezi', 'etherpad', 'fullscreen', 'sip', 'dialpad', 'settings', 'hangup', 'filmstrip', 'contacts'],
19
+    TOOLBAR_BUTTONS: ['authentication', 'microphone', 'camera', 'desktop',
20
+        'recording', 'security', 'invite', 'chat', 'prezi', 'etherpad',
21
+        'fullscreen', 'sip', 'dialpad', 'settings', 'hangup', 'filmstrip',
22
+        'contacts'],
21 23
     /**
22 24
      * Whether to only show the filmstrip (and hide the toolbar).
23 25
      */

+ 2
- 1
modules/UI/toolbars/ToolbarToggler.js 查看文件

@@ -6,7 +6,8 @@ var toolbarTimeoutObject,
6 6
     UIUtil = require("../util/UIUtil");
7 7
 
8 8
 function showDesktopSharingButton() {
9
-    if (APP.desktopsharing.isDesktopSharingEnabled() && UIUtil.isButtonEnabled('desktop')) {
9
+    if (APP.desktopsharing.isDesktopSharingEnabled() &&
10
+        UIUtil.isButtonEnabled('desktop')) {
10 11
         $('#toolbar_button_desktopsharing').css({display: "inline-block"});
11 12
     } else {
12 13
         $('#toolbar_button_desktopsharing').css({display: "none"});

+ 3
- 1
modules/UI/util/UIUtil.js 查看文件

@@ -106,7 +106,9 @@ var UIUtil = module.exports = {
106 106
 
107 107
     hideDisabledButtons: function (mappings) {
108 108
         var selector = Object.keys(mappings)
109
-          .map(function (buttonName) { return UIUtil.isButtonEnabled(buttonName) ? null : mappings[buttonName]; })
109
+          .map(function (buttonName) {
110
+                return UIUtil.isButtonEnabled(buttonName)
111
+                    ? null : mappings[buttonName]; })
110 112
           .filter(function (item) { return item; })
111 113
           .join(',');
112 114
         $(selector).hide();

Loading…
取消
儲存