(hintString)
| 1058 | // Make each hint character a span, so that we can highlight the typed characters as you type them. |
| 1059 | // |
| 1060 | const spanWrap = (hintString) => { |
| 1061 | const innerHTML = []; |
| 1062 | for (const char of hintString) { |
| 1063 | innerHTML.push("<span class='vimium-reset'>" + char + "</span>"); |
| 1064 | } |
| 1065 | return innerHTML.join(""); |
| 1066 | }; |
| 1067 | |
| 1068 | const LocalHints = { |
| 1069 | // Returns an array of LocalHints if the element is visible and clickable, and computes the rect |
no test coverage detected