* @param {Element} item
(item)
| 629 | * @param {Element} item |
| 630 | */ |
| 631 | function liveListReplace(item) { |
| 632 | item.setAttribute('data-update-time', Date.now().toString()); |
| 633 | const itemContents = item.querySelectorAll('.content'); |
| 634 | itemContents[0].textContent = Math.floor(Math.random() * 10).toString(); |
| 635 | itemContents[1].textContent = Math.floor(Math.random() * 10).toString(); |
| 636 | } |
| 637 | |
| 638 | /** |
| 639 | * @param {Element} liveList |
no test coverage detected