diff options
author | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-07-30 20:18:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-30 20:18:17 +0200 |
commit | 2a76c37d0e733dedf8ed87d1e7e46caf3c44667e (patch) | |
tree | eef4e1f7f84846e950ff27780bf447000542d4e0 /files/fr/web/javascript/reference/statements/export | |
parent | 6f195c0befca01246e2db1c38a65628baf1938e1 (diff) | |
download | translated-content-2a76c37d0e733dedf8ed87d1e7e46caf3c44667e.tar.gz translated-content-2a76c37d0e733dedf8ed87d1e7e46caf3c44667e.tar.bz2 translated-content-2a76c37d0e733dedf8ed87d1e7e46caf3c44667e.zip |
Prepare JS French section for Markdown (#1574)
* Rm IDs w/ [^h\d] id="
* Remove class="hidden"
* Remove hidden for code blocks
* rm summary classes
* Use Note consistently
* Remove sup
* Rm code in pre
* Fixes dd/dt/dl
* Fix some more dd
* Remove inline style and useless/craft from span/font
* h2m report fixing - Consistent use of notes
* h2m report fixing - Consistent use of warnings
* h2m report fixing - reword one callout
* h2m report fixing - array cruft spans hell
* Cleaning the rest of docs for md conversion
Diffstat (limited to 'files/fr/web/javascript/reference/statements/export')
-rw-r--r-- | files/fr/web/javascript/reference/statements/export/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/fr/web/javascript/reference/statements/export/index.html b/files/fr/web/javascript/reference/statements/export/index.html index 6f35bd87ca..30f421a8c5 100644 --- a/files/fr/web/javascript/reference/statements/export/index.html +++ b/files/fr/web/javascript/reference/statements/export/index.html @@ -122,7 +122,7 @@ console.log(cube(3)); // 27 console.log(machin); // 4.555806215962888</pre> <div class="note"> -<p><strong>Note : </strong>Si l'import est réalisé dans un script HTML, il faut que celui-ci soit chargé avec l'attribut {{htmlattrxref("type")}} <code>"module"</code> : <code><script type="module" src="./demo.js"></script></code> sinon il y aura une erreur quant aux origines multiples (<a href="/fr/docs/Web/HTTP/CORS">CORS</a>).<br> +<p><strong>Note :</strong> Si l'import est réalisé dans un script HTML, il faut que celui-ci soit chargé avec l'attribut {{htmlattrxref("type")}} <code>"module"</code> : <code><script type="module" src="./demo.js"></script></code> sinon il y aura une erreur quant aux origines multiples (<a href="/fr/docs/Web/HTTP/CORS">CORS</a>).<br> Il n'est pas possible de charger des modules JavaScript via une URL <code>file://</code> pour des raisons de sécurité (voir <a href="/fr/docs/Web/HTTP/CORS">CORS</a> également). Il faudra utiliser un serveur HTTP.</p> </div> |