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