| @@ -22,9 +22,9 @@ module Docs · 21 unmodified lines |
| 22 | 22 | ['Array slicing and splicing', 'slices', 'Language'], |
| 23 | 23 | ['Ranges', 'slices', 'Language'], |
| 24 | 24 | ['Expressions', 'expressions', 'Language'], |
| 25 | | − ['?', 'the-existential-operator', 'Operators'], |
| 26 | | − ['?=', 'the-existential-operator', 'Operators'], |
| 27 | | − ['?.', 'the-existential-operator', 'Operators'], |
| 25 | + ['?', 'existential-operator', 'Operators'], |
| 26 | + ['?=', 'existential-operator', 'Operators'], |
| 27 | + ['?.', 'existential-operator', 'Operators'], |
| 28 | 28 | ['class', 'classes', 'Statements'], |
| 29 | 29 | ['extends', 'classes', 'Operators'], |
| 30 | 30 | ['super', 'classes', 'Statements'], |
| @@ -37,14 +37,14 @@ module Docs · 6 unmodified lines |
| 37 | 37 | ['for...from', 'fat-arrow', 'Statements'], |
| 38 | 38 | ['Embedded JavaScript', 'embedded', 'Language'], |
| 39 | 39 | ['switch...when...else', 'switch', 'Statements'], |
| 40 | | − ['try...catch...finally', 'try', 'Statements'], |
| 40 | + ['try...catch...finally', 'try-catch', 'Statements'], |
| 41 | 41 | ['Chained comparisons', 'comparisons', 'Language'], |
| 42 | 42 | ['#{} interpolation', 'strings', 'Language'], |
| 43 | 43 | ['Block strings', 'strings', 'Language'], |
| 44 | 44 | ['"""', 'strings', 'Language'], |
| 45 | 45 | ['Block comments', 'strings', 'Language'], |
| 46 | 46 | ['###', 'strings', 'Language'], |
| 47 | | − ['Tagged Template Literals', 'tagged-template-literals', 'Language'], |
| 47 | + ['Tagged Template Literals', 'tagged-template-literals', 'Language'], |
| 48 | 48 | ['Block regexes', 'regexes', 'Language'], |
| 49 | 49 | ['///', 'regexes', 'Language'], |
| 50 | 50 | ['Modules', 'modules', 'Language'], |
| @@ -59,7 +59,7 @@ module Docs · 8 unmodified lines |
| 59 | 59 | entries = ENTRIES.dup |
| 60 | 60 | |
| 61 | 61 | # Operators |
| 62 | | − css('.definitions td:first-child > code').each do |node| |
| 62 | + at_css('#operators ~ table').css('td:first-child > code').each do |node| |
| 63 | 63 | node.content.split(', ').each do |name| |
| 64 | 64 | next if %w(true false yes no on off this).include?(name) |
| 65 | 65 | name.sub! %r{\Aa (.+) b\z}, '\1' |