</tr>
<tr>
<td class="lineNo"> </td>
<td class="lineNo">New</td>
<td class="new">${diffs.new}</td>
</tr>
`
for(let lineInfo of diffs.lines) {
result += `
<tr>
<td class="lineNo">
${showNumber(lineInfo) ? lineInfo['num-old'] : ' '}
</td>
<td class="lineNo">
${showNumber(lineInfo) ? lineInfo['num-new'] : ' '}
</td>
<td style="width: 100%">
<pre class="${lineInfo.type}">${lineInfo.line}</pre>
</td>
</tr>
`
}
result += `
</table>
`
return result;
}
onmessage = function(e) {