aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/eventsource/close/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/eventsource/close/index.html')
-rw-r--r--files/zh-cn/web/api/eventsource/close/index.html69
1 files changed, 1 insertions, 68 deletions
diff --git a/files/zh-cn/web/api/eventsource/close/index.html b/files/zh-cn/web/api/eventsource/close/index.html
index 424e609656..23550a5b62 100644
--- a/files/zh-cn/web/api/eventsource/close/index.html
+++ b/files/zh-cn/web/api/eventsource/close/index.html
@@ -63,74 +63,7 @@ button.onclick = function() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>EventSource support</td>
- <td>6</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("6.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>5</td>
- </tr>
- <tr>
- <td>Available in shared and dedicated workers<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("53.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>EventSource support</td>
- <td>4.4</td>
- <td>45</td>
- <td>{{CompatNo}}</td>
- <td>12</td>
- <td>4.1</td>
- </tr>
- <tr>
- <td>Available in shared and dedicated workers<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("53.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] But <a href="https://github.com/w3c/ServiceWorker/issues/947">not service workers as yet</a>.</p>
+{{Compat("api.EventSource.close")}}
<h2 id="相关链接">相关链接</h2>