From ee57b28db54069ee48b830173fbcc96319bf43fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 19 Mar 2019 16:00:18 +0100 Subject: [PATCH] Toc fixed --- web/script.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/web/script.js b/web/script.js index ed1c839..a44fb20 100644 --- a/web/script.js +++ b/web/script.js @@ -30,15 +30,15 @@ function addToc() { } var TOC = '
' + -'

Contents#

' + -'
ToC = {' +
-'    \'1. Collections\': [List, Dict, Set, Range, Enumerate, Namedtuple, Iterator, Generator],' +
-'    \'2. Types\':       [Type, String, Regex, Format, Numbers, Combinatorics, Datetimeᴺᴱᵂ],' +
-'    \'3. Syntax\':      [Args, Splat, Inline, Closure, Decorator, Class, Enum, Exceptions],' +
-'    \'4. System\':      [Print, Input, Command_Line_Arguments, Open, Pathᴺᴱᵂ, Command_Execution],' +
-'    \'5. Data\':        [CSV, JSON, Pickle, SQLite, Bytes, Struct, Array, MemoryView, Deque],' +
-'    \'6. Advanced\':    [Threading, Introspection, Metaprograming, Operator, Eval, Coroutine],' +
-'    \'7. Libraries\':   [Progress_Bar, Plot, Table, Curses, Loggingᴺᴱᵂ, Scraping, Web, Profile,' +
-'                       NumPy, Image, Audio, Basic_Script_Template]' +
-'}' +
-'
' \ No newline at end of file +'

Contents#

\n' + +'
ToC = {\n' +
+'    \'1. Collections\': [List, Dict, Set, Range, Enumerate, Namedtuple, Iterator, Generator],\n' +
+'    \'2. Types\':       [Type, String, Regex, Format, Numbers, Combinatorics, Datetimeᴺᴱᵂ],\n' +
+'    \'3. Syntax\':      [Args, Splat, Inline, Closure, Decorator, Class, Enum, Exceptions],\n' +
+'    \'4. System\':      [Print, Input, Command_Line_Arguments, Open, Pathᴺᴱᵂ, Command_Execution],\n' +
+'    \'5. Data\':        [CSV, JSON, Pickle, SQLite, Bytes, Struct, Array, MemoryView, Deque],\n' +
+'    \'6. Advanced\':    [Threading, Introspection, Metaprograming, Operator, Eval, Coroutine],\n' +
+'    \'7. Libraries\':   [Progress_Bar, Plot, Table, Curses, Loggingᴺᴱᵂ, Scraping, Web, Profile,\n' +
+'                       NumPy, Image, Audio, Basic_Script_Template]\n' +
+'}\n' +
+'
\n' \ No newline at end of file