diff options
author | YujiSoftware <yuji.software+github@gmail.com> | 2022-03-02 20:01:54 +0900 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2022-03-04 01:02:45 +0800 |
commit | c46e9da7f68bd682fc9ff1452b7fe63df1227151 (patch) | |
tree | fe6c6e20521b16a22ec64755b88a39effd81a4d7 /files/zh-tw/web/api/websocket/index.html | |
parent | e671353fc364cef89441d031e0e8b9300b67951b (diff) | |
download | translated-content-c46e9da7f68bd682fc9ff1452b7fe63df1227151.tar.gz translated-content-c46e9da7f68bd682fc9ff1452b7fe63df1227151.tar.bz2 translated-content-c46e9da7f68bd682fc9ff1452b7fe63df1227151.zip |
Migrate to Compat macro (zh-tw)
Diffstat (limited to 'files/zh-tw/web/api/websocket/index.html')
-rw-r--r-- | files/zh-tw/web/api/websocket/index.html | 73 |
1 files changed, 1 insertions, 72 deletions
diff --git a/files/zh-tw/web/api/websocket/index.html b/files/zh-tw/web/api/websocket/index.html index 8a8c14f3cb..36cc698454 100644 --- a/files/zh-tw/web/api/websocket/index.html +++ b/files/zh-tw/web/api/websocket/index.html @@ -201,75 +201,4 @@ void send( <h2 id="瀏覽器兼容">瀏覽器兼容</h2> -<p>{{ CompatibilityTable() }}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>功能</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>基本支援</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatGeckoDesktop("2.0") }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - <tr> - <td>子協定支援</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatGeckoDesktop("6.0") }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>功能</th> - <th>Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>基本支援</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatGeckoMobile("7.0") }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - <tr> - <td>子協定支援</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatGeckoMobile("7.0") }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - </tbody> -</table> -</div> - -<h3 id="Gecko_備註">Gecko 備註</h3> - -<p>自從 Gecko 6.0,建構方法有前輟,須使用 <code>MozWebSocket()</code>:</p> - -<pre>var mySocket = new MozWebSocket("<span class="plain">http://www.example.com/socketserver</span>"); -</pre> - -<p>{{ languages ( {"en": "en/WebSockets/WebSockets_reference/WebSocket"} ) }}</p> +{{Compat("api.WebSocket")}} |