tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

index.rst (849B)


      1 ============================
      2 Pretty-print a minified file
      3 ============================
      4 
      5 To prettify a minified file, click the **Pretty print source** icon |image1| at the bottom of the :ref:`source pane <debugger_ui_tour_source_pane>`. The debugger formats the source and displays it as a new file with a name like: "{ } [original-name]".
      6 
      7 .. |image1| image:: pretty_print_icon.png
      8  :width: 20
      9 
     10 .. image:: pretty_print_source.png
     11  :class: border
     12 
     13 After you click the icon, the source code looks like this:
     14 
     15 .. image:: pretty_print_after.png
     16  :class: border
     17 
     18 The **Pretty print source** icon is available only if the source file is minified (i.e., not an original file), and is not already "prettified".
     19 
     20 .. note::
     21 
     22  Currently Firefox `does not support <https://bugzilla.mozilla.org/show_bug.cgi?id=1010150>`_ pretty printing inline Javascript.