Sfoglia il codice sorgente

cleanup: make test more readable

dev1
Saúl Ibarra Corretgé 8 anni fa
parent
commit
80fa88bbae
1 ha cambiato i file con 5 aggiunte e 6 eliminazioni
  1. 5
    6
      modules/RTC/RTCBrowserType.js

+ 5
- 6
modules/RTC/RTCBrowserType.js Vedi File

120
         // Temasys do not support Microsoft Edge:
120
         // Temasys do not support Microsoft Edge:
121
         // http://support.temasys.com.sg/support/solutions/articles/
121
         // http://support.temasys.com.sg/support/solutions/articles/
122
         // 5000654345-can-the-temasys-webrtc-plugin-be-used-with-microsoft-edge-
122
         // 5000654345-can-the-temasys-webrtc-plugin-be-used-with-microsoft-edge-
123
-        if (RTCBrowserType.isIExplorer()
124
-                && RTCBrowserType.getIExplorerVersion() < 12) {
125
-            return true;
126
-        }
127
-
128
-        return RTCBrowserType.isSafari();
123
+        return (
124
+            RTCBrowserType.isSafari()
125
+            || (RTCBrowserType.isIExplorer()
126
+                && RTCBrowserType.getIExplorerVersion() < 12)
127
+        );
129
     },
128
     },
130
 
129
 
131
     /**
130
     /**

Loading…
Annulla
Salva