History

es-toolkit: use U+2063 INVISIBLE SEPARATOR

Simon Legner committed 1 year ago

Commit 90fed111 parent 93c3c571 file · +1 −1Browse files

Unified · Split

lib/docs/scrapers/es_toolkit.rb+1−1
@@ -35,7 +35,7 @@ module Docs · 34 unmodified lines
35 type = path.split("/")[0..-2]35 type = path.split("/")[0..-2]
36 type = type.map(&:capitalize).join(" ")36 type = type.map(&:capitalize).join(" ")
37 # really bad way to sort37 # really bad way to sort
38 type = type.gsub(/^(Compat|Error)\b/, "~ \\1")38 type = type.gsub(/^(Compat|Error)\b/, "\u2063\\1") # U+2063 INVISIBLE SEPARATOR
39 else39 else
40 name = type = nil40 name = type = nil
41 end41 end

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t