* Set hint items * @param {Array } list Hint items
(list)
| 215 | * @param {Array<Hint>} list Hint items |
| 216 | */ |
| 217 | function setHints(list) { |
| 218 | if (Array.isArray(list)) { |
| 219 | hints = list; |
| 220 | } else { |
| 221 | hints = []; |
| 222 | } |
| 223 | updateUl(hints); |
| 224 | $ul.classList.remove("loading"); |
| 225 | } |
| 226 | |
| 227 | function hintModification() { |
| 228 | return { |
no test coverage detected