aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/eventsource
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/api/eventsource')
-rw-r--r--files/fr/web/api/eventsource/close/index.html69
-rw-r--r--files/fr/web/api/eventsource/index.html69
2 files changed, 2 insertions, 136 deletions
diff --git a/files/fr/web/api/eventsource/close/index.html b/files/fr/web/api/eventsource/close/index.html
index eb65e1817a..062ed16f58 100644
--- a/files/fr/web/api/eventsource/close/index.html
+++ b/files/fr/web/api/eventsource/close/index.html
@@ -69,74 +69,7 @@ bouton.onclick = function() {
<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</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>Disponible en workers dédiés et partagés<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>Disponible en workers dédiés et partagés<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>
+<p>{{Compat("api.EventSource.close")}}</p>
<h2 id="Voir_aussi">Voir aussi</h2>
diff --git a/files/fr/web/api/eventsource/index.html b/files/fr/web/api/eventsource/index.html
index 4a80f6f528..5ff51c7262 100644
--- a/files/fr/web/api/eventsource/index.html
+++ b/files/fr/web/api/eventsource/index.html
@@ -86,74 +86,7 @@ evtSource.onmessage = function(e) {
<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Fonctionnalité</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Support simple</td>
- <td>6</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("6.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>5</td>
- </tr>
- <tr>
- <td>Disponible dans les <em>workers</em> dédiés et partagés<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>Fonctionnalité</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Support simple</td>
- <td>4.4</td>
- <td>45</td>
- <td>{{CompatNo}}</td>
- <td>12</td>
- <td>4.1</td>
- </tr>
- <tr>
- <td>Disponible dans les <em>workers</em> dédiés et partagés<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] <a href="https://github.com/w3c/ServiceWorker/issues/947">Pas encore disponible pour les <em>service workers</em></a>.</p>
+<p>{{Compat("api.EventSource")}}</p>
<h2 id="Voir_aussi">Voir aussi</h2>