aboutsummaryrefslogtreecommitdiff
path: root/files/fr/tools/debugger/how_to/pretty-print_a_minified_file
diff options
context:
space:
mode:
authorFlorian Merz <me@fiji-flo.de>2021-02-11 12:36:08 +0100
committerFlorian Merz <me@fiji-flo.de>2021-02-11 12:36:08 +0100
commit39f2114f9797eb51994966c6bb8ff1814c9a4da8 (patch)
tree66dbd9c921f56e440f8816ed29ac23682a1ac4ef /files/fr/tools/debugger/how_to/pretty-print_a_minified_file
parent8260a606c143e6b55a467edf017a56bdcd6cba7e (diff)
downloadtranslated-content-39f2114f9797eb51994966c6bb8ff1814c9a4da8.tar.gz
translated-content-39f2114f9797eb51994966c6bb8ff1814c9a4da8.tar.bz2
translated-content-39f2114f9797eb51994966c6bb8ff1814c9a4da8.zip
unslug fr: move
Diffstat (limited to 'files/fr/tools/debugger/how_to/pretty-print_a_minified_file')
-rw-r--r--files/fr/tools/debugger/how_to/pretty-print_a_minified_file/index.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/files/fr/tools/debugger/how_to/pretty-print_a_minified_file/index.html b/files/fr/tools/debugger/how_to/pretty-print_a_minified_file/index.html
new file mode 100644
index 0000000000..4ba2ddaf91
--- /dev/null
+++ b/files/fr/tools/debugger/how_to/pretty-print_a_minified_file/index.html
@@ -0,0 +1,20 @@
+---
+title: Formater et indenter un fichier minifié
+slug: Outils/Débogueur/Comment/Formater_et_indenter_un_fichier_minifié
+translation_of: Tools/Debugger/How_to/Pretty-print_a_minified_file
+---
+<div>{{ToolsSidebar}}</div>
+
+<p>Pour formater et indenter un fichier qui a été minifié, il faut cliquer sur cette icône : <img alt="" src="https://mdn.mozillademos.org/files/16638/pretty_print_icon.png" style="border: 1px solid black; height: 19px; margin-bottom: -5px; width: 20px;"> dans le <a href="/fr/docs/Tools/Debugger/UI_Tour#Source_pane">panneau des source</a>. Le Débogueur formatera la source et l'affichera dans un nouveau fichier avec un nom au format : "{ }[nom-original]".</p>
+
+<p><img alt="" src="https://mdn.mozillademos.org/files/16639/pretty_print_source.png" style="border: 1px solid black; display: block; height: 357px; margin: 0px auto; width: 914px;"></p>
+
+<p>Après un clic sur l'icone, le code source ressemble à ceci:</p>
+
+
+
+<p><img alt="" src="https://mdn.mozillademos.org/files/16640/pretty_print_after.png" style="border: 1px solid black; display: block; height: 315px; margin: 0px auto; width: 914px;"></p>
+
+<div class="note">
+<p><strong>Note</strong>: <span style="color: #000000;">Pour mettre en forme du code JavaScript inline, il suffit de double cliquer sur le code dans panneau de l'inspecteur.</span></p>
+</div>