diff options
| author | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-09-26 13:11:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-26 13:11:47 +0200 |
| commit | 6772831200d14c2436aea2d0c837f40dbf12156f (patch) | |
| tree | e41b587ce1834baf8c737454c0ae110ebc8208ca /files/fr/web/api/eventsource | |
| parent | 707941dbecfb0cc1e75dd32d2dacac4d1845bf2c (diff) | |
| download | translated-content-6772831200d14c2436aea2d0c837f40dbf12156f.tar.gz translated-content-6772831200d14c2436aea2d0c837f40dbf12156f.tar.bz2 translated-content-6772831200d14c2436aea2d0c837f40dbf12156f.zip | |
Prepare Web API section for Markdown conversion (#2464)
* Remove summary classes and ids
* Remove unecessary hidden
* Remove useless span filled with useless attributes / ids
* Remove useless font
* Remove notranslate
* Remove id in other elements than headings
* Remove name attributes
* Remove <pre><code> for JS w/ language-js class
* Remove <pre><code> for HTML w/ language-html class
* Remove <pre><code> for other lang w/ language-* class
* Rm highlighted line in code samples
* fix links, internal, external, absolute URLs
* missing file from last commit
* Fix styles errors apart from table + some classes
* Fix notes and warnings (+ some other :x)
* fix typo during merge which broke a doc
* aand forgot a conflict
* fix remaining classes of errors except dls and images
* Fix dls
* Fix images (deki/mozillademos) and remaining style issues
* Remove script tag from svg file
* Remove script tag from svg fileS
* Compress SVG files for CI
Diffstat (limited to 'files/fr/web/api/eventsource')
| -rw-r--r-- | files/fr/web/api/eventsource/close/index.html | 4 | ||||
| -rw-r--r-- | files/fr/web/api/eventsource/index.html | 4 | ||||
| -rw-r--r-- | files/fr/web/api/eventsource/onopen/index.html | 5 |
3 files changed, 5 insertions, 8 deletions
diff --git a/files/fr/web/api/eventsource/close/index.html b/files/fr/web/api/eventsource/close/index.html index 062ed16f58..d7289f87ef 100644 --- a/files/fr/web/api/eventsource/close/index.html +++ b/files/fr/web/api/eventsource/close/index.html @@ -17,7 +17,7 @@ translation_of: Web/API/EventSource/close <p>La fonction <code><strong>close()</strong></code> de l'interface {{domxref("EventSource")}} coupe la connection, si existante, et affecte à la variable {{domxref("EventSource.readyState")}} la valeur <code>2</code> (closed).</p> <div class="note"> -<p><strong>Note</strong>: Si la connexion est déjà fermé, la fonction n'agit pas.</p> +<p><strong>Note :</strong> Si la connexion est déjà fermé, la fonction n'agit pas.</p> </div> <h2 id="Syntaxe">Syntaxe</h2> @@ -44,7 +44,7 @@ bouton.onclick = function() { </pre> <div class="note"> -<p><strong>Note</strong>: Vous pouvez trouver un exemple complet sur GitHub — voir <a href="https://github.com/mdn/dom-examples/tree/master/server-sent-events">Demo simple de SSE utilisant PHP.</a></p> +<p><strong>Note :</strong> Vous pouvez trouver un exemple complet sur GitHub — voir <a href="https://github.com/mdn/dom-examples/tree/master/server-sent-events">Demo simple de SSE utilisant PHP.</a></p> </div> <h2 id="Spécifications">Spécifications</h2> diff --git a/files/fr/web/api/eventsource/index.html b/files/fr/web/api/eventsource/index.html index ad8e2ef524..3ad72e5065 100644 --- a/files/fr/web/api/eventsource/index.html +++ b/files/fr/web/api/eventsource/index.html @@ -53,7 +53,7 @@ translation_of: Web/API/EventSource <h2 id="Exemples">Exemples</h2> -<pre class="brush: js notranslate">var evtSource = new EventSource('sse.php'); +<pre class="brush: js">var evtSource = new EventSource('sse.php'); var eventList = document.querySelector('ul'); evtSource.onmessage = function(e) { @@ -91,5 +91,5 @@ evtSource.onmessage = function(e) { <h2 id="Voir_aussi">Voir aussi</h2> <ul> - <li><a href="/fr/docs/Server-sent_events/Using_server-sent_events" title="en/Server-sent events/Using server-sent events">Utiliser les évènements générés par le serveur</a></li> + <li><a href="/fr/docs/Server-sent_events/Using_server-sent_events">Utiliser les évènements générés par le serveur</a></li> </ul> diff --git a/files/fr/web/api/eventsource/onopen/index.html b/files/fr/web/api/eventsource/onopen/index.html index 2db0dff38c..64b0d58fb9 100644 --- a/files/fr/web/api/eventsource/onopen/index.html +++ b/files/fr/web/api/eventsource/onopen/index.html @@ -24,7 +24,7 @@ translation_of: Web/API/EventSource/onopen };</pre> <div class="note"> -<p><strong>Note</strong>: Vous pouvez trouver un exemple complet sur GitHub — voir <a href="https://github.com/mdn/dom-examples/tree/master/server-sent-events">Simple SSE demo using PHP.</a></p> +<p><strong>Note :</strong> Vous pouvez trouver un exemple complet sur GitHub — voir <a href="https://github.com/mdn/dom-examples/tree/master/server-sent-events">Simple SSE demo using PHP.</a></p> </div> <h2 id="Spécifications">Spécifications</h2> @@ -44,9 +44,6 @@ translation_of: Web/API/EventSource/onopen </tbody> </table> -<ul> -</ul> - <h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> <p>{{Compat("api.EventSource.onopen")}}</p> |
