Procházet zdrojové kódy

Formatting fixes.

master
paweldomas před 9 roky
rodič
revize
9e54f9be8b
1 změnil soubory, kde provedl 6 přidání a 4 odebrání
  1. 6
    4
      JitsiConference.js

+ 6
- 4
JitsiConference.js Zobrazit soubor

42
     this.statistics = new Statistics(this.xmpp, {
42
     this.statistics = new Statistics(this.xmpp, {
43
         callStatsID: this.options.config.callStatsID,
43
         callStatsID: this.options.config.callStatsID,
44
         callStatsSecret: this.options.config.callStatsSecret,
44
         callStatsSecret: this.options.config.callStatsSecret,
45
-        disableThirdPartyRequests: this.options.config.disableThirdPartyRequests,
45
+        disableThirdPartyRequests: this.options.config.disableThirdPartyRequests
46
     });
46
     });
47
     setupListeners(this);
47
     setupListeners(this);
48
     JitsiMeetJS._gumFailedHandler.push(function(error) {
48
     JitsiMeetJS._gumFailedHandler.push(function(error) {
1051
 
1051
 
1052
             var id2resolution = {};
1052
             var id2resolution = {};
1053
 
1053
 
1054
-            // preprocess resolutions: group by user id, skip incorrect resolutions etc.
1054
+            // preprocess resolutions: group by user id, skip incorrect
1055
+            // resolutions etc.
1055
             Object.keys(ssrc2resolution).forEach(function (ssrc) {
1056
             Object.keys(ssrc2resolution).forEach(function (ssrc) {
1056
                 var resolution = ssrc2resolution[ssrc];
1057
                 var resolution = ssrc2resolution[ssrc];
1057
 
1058
 
1058
                 if (!resolution.width || !resolution.height ||
1059
                 if (!resolution.width || !resolution.height ||
1059
-                    resolution.width == -1 || resolution.height == -1) { // it also may be "-1"
1060
+                    resolution.width == -1 || resolution.height == -1) {
1060
                     return;
1061
                     return;
1061
                 }
1062
                 }
1062
 
1063
 
1085
 
1086
 
1086
             stats.resolution = id2resolution;
1087
             stats.resolution = id2resolution;
1087
 
1088
 
1088
-            conference.eventEmitter.emit(JitsiConferenceEvents.CONNECTION_STATS, stats);
1089
+            conference.eventEmitter.emit(
1090
+                JitsiConferenceEvents.CONNECTION_STATS, stats);
1089
         });
1091
         });
1090
         conference.xmpp.addListener(XMPPEvents.DISPOSE_CONFERENCE,
1092
         conference.xmpp.addListener(XMPPEvents.DISPOSE_CONFERENCE,
1091
             function () {
1093
             function () {

Načítá se…
Zrušit
Uložit