瀏覽代碼

Removes Edge support.

master
damencho 6 年之前
父節點
當前提交
43a0ae578e
共有 3 個檔案被更改,包括 19 行新增20 行删除
  1. 3
    9
      package-lock.json
  2. 1
    1
      package.json
  3. 15
    10
      react/features/unsupported-browser/components/UnsupportedDesktopBrowser.js

+ 3
- 9
package-lock.json 查看文件

8615
       }
8615
       }
8616
     },
8616
     },
8617
     "lib-jitsi-meet": {
8617
     "lib-jitsi-meet": {
8618
-      "version": "github:jitsi/lib-jitsi-meet#1c5fd72b2a88d4214ccd17a1da60413ae944c862",
8619
-      "from": "github:jitsi/lib-jitsi-meet#1c5fd72b2a88d4214ccd17a1da60413ae944c862",
8618
+      "version": "github:jitsi/lib-jitsi-meet#158243c29751d3892414125f79e72aeaadd2ec25",
8619
+      "from": "github:jitsi/lib-jitsi-meet#158243c29751d3892414125f79e72aeaadd2ec25",
8620
       "requires": {
8620
       "requires": {
8621
         "@jitsi/sdp-interop": "0.1.14",
8621
         "@jitsi/sdp-interop": "0.1.14",
8622
         "@jitsi/sdp-simulcast": "0.2.1",
8622
         "@jitsi/sdp-simulcast": "0.2.1",
8628
         "sdp-transform": "2.3.0",
8628
         "sdp-transform": "2.3.0",
8629
         "strophe.js": "1.2.16",
8629
         "strophe.js": "1.2.16",
8630
         "strophejs-plugin-disco": "0.0.2",
8630
         "strophejs-plugin-disco": "0.0.2",
8631
-        "webrtc-adapter": "github:webrtc/adapter#1eec19782b4058d186341263e7d049cea3e3290a",
8632
-        "yaeti": "1.0.1"
8631
+        "webrtc-adapter": "github:webrtc/adapter#1eec19782b4058d186341263e7d049cea3e3290a"
8633
       },
8632
       },
8634
       "dependencies": {
8633
       "dependencies": {
8635
         "js-md5": {
8634
         "js-md5": {
16595
       "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz",
16594
       "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz",
16596
       "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE="
16595
       "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE="
16597
     },
16596
     },
16598
-    "yaeti": {
16599
-      "version": "1.0.1",
16600
-      "resolved": "https://registry.npmjs.org/yaeti/-/yaeti-1.0.1.tgz",
16601
-      "integrity": "sha1-IX0Eu83LvYbMR45GVapMKMST3r8="
16602
-    },
16603
     "yallist": {
16597
     "yallist": {
16604
       "version": "2.1.2",
16598
       "version": "2.1.2",
16605
       "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz",
16599
       "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz",

+ 1
- 1
package.json 查看文件

51
     "js-utils": "github:jitsi/js-utils#73a67a7a60d52f8e895f50939c8fcbd1f20fe7b5",
51
     "js-utils": "github:jitsi/js-utils#73a67a7a60d52f8e895f50939c8fcbd1f20fe7b5",
52
     "jsrsasign": "8.0.12",
52
     "jsrsasign": "8.0.12",
53
     "jwt-decode": "2.2.0",
53
     "jwt-decode": "2.2.0",
54
-    "lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#1c5fd72b2a88d4214ccd17a1da60413ae944c862",
54
+    "lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#158243c29751d3892414125f79e72aeaadd2ec25",
55
     "libflacjs": "github:mmig/libflac.js#93d37e7f811f01cf7d8b6a603e38bd3c3810907d",
55
     "libflacjs": "github:mmig/libflac.js#93d37e7f811f01cf7d8b6a603e38bd3c3810907d",
56
     "lodash": "4.17.11",
56
     "lodash": "4.17.11",
57
     "moment": "2.19.4",
57
     "moment": "2.19.4",

+ 15
- 10
react/features/unsupported-browser/components/UnsupportedDesktopBrowser.js 查看文件

5
 import { translate } from '../../base/i18n';
5
 import { translate } from '../../base/i18n';
6
 import { Platform } from '../../base/react';
6
 import { Platform } from '../../base/react';
7
 
7
 
8
-import { CHROME, EDGE, FIREFOX, SAFARI } from './browserLinks';
8
+import { CHROME, /* EDGE, */ FIREFOX, SAFARI } from './browserLinks';
9
 
9
 
10
 /**
10
 /**
11
  * The namespace of the CSS styles of UnsupportedDesktopBrowser.
11
  * The namespace of the CSS styles of UnsupportedDesktopBrowser.
48
                     Please try again with the latest version of 
48
                     Please try again with the latest version of 
49
                     <a
49
                     <a
50
                         className = { `${_SNS}__link` }
50
                         className = { `${_SNS}__link` }
51
-                        href = { CHROME } >Chrome</a>,&nbsp;
51
+                        href = { CHROME } >Chrome</a> and&nbsp;
52
                     <a
52
                     <a
53
                         className = { `${_SNS}__link` }
53
                         className = { `${_SNS}__link` }
54
-                        href = { FIREFOX }>Firefox</a> or&nbsp;
54
+                        href = { FIREFOX }>Firefox</a>&nbsp;
55
                     {
55
                     {
56
                         this._renderOSSpecificBrowserDownloadLink()
56
                         this._renderOSSpecificBrowserDownloadLink()
57
                     }
57
                     }
76
             text = 'Safari';
76
             text = 'Safari';
77
             break;
77
             break;
78
 
78
 
79
+        /*
79
         case 'windows':
80
         case 'windows':
80
             link = EDGE;
81
             link = EDGE;
81
             text = 'Edge';
82
             text = 'Edge';
82
             break;
83
             break;
84
+        */
83
         }
85
         }
84
         if (typeof link !== 'undefined') {
86
         if (typeof link !== 'undefined') {
85
             return (
87
             return (
86
-                <a
87
-                    className = { `${_SNS}__link` }
88
-                    href = { link }>
89
-                    {
90
-                        text
91
-                    }
92
-                </a>
88
+                <span>
89
+                    or&nbsp;
90
+                    <a
91
+                        className = { `${_SNS}__link` }
92
+                        href = { link }>
93
+                        {
94
+                            text
95
+                        }
96
+                    </a>
97
+                </span>
93
             );
98
             );
94
         }
99
         }
95
 
100
 

Loading…
取消
儲存