()
| 14 | let vueGlobalData; |
| 15 | |
| 16 | function executeScript() { |
| 17 | const script = dom |
| 18 | .findAll('.markdown-section>script') |
| 19 | .filter(s => !/template/.test(s.type))[0]; |
| 20 | if (!script) { |
| 21 | return false; |
| 22 | } |
| 23 | |
| 24 | const code = script.innerText.trim(); |
| 25 | if (!code) { |
| 26 | return false; |
| 27 | } |
| 28 | |
| 29 | new Function(code)(); |
| 30 | } |
| 31 | |
| 32 | function formatUpdated(html, updated, fn) { |
| 33 | updated = |
no outgoing calls
no test coverage detected
searching dependent graphs…