()
| 702 | |
| 703 | |
| 704 | function main() { |
| 705 | const html = getMd(); |
| 706 | initDom(html); |
| 707 | modifyPage(); |
| 708 | var template = readFile('web/template.html'); |
| 709 | template = updateDate(template); |
| 710 | const tokens = template.split('<div id=main_container></div>'); |
| 711 | const text = `${tokens[0]} ${document.body.innerHTML} ${tokens[1]}`; |
| 712 | writeToFile('index.html', text); |
| 713 | } |
| 714 | |
| 715 | function getMd() { |
| 716 | var readme = readFile('README.md'); |
no test coverage detected