| Index: runtime/bin/vmservice/client/lib/src/elements/script_inset.html
|
| diff --git a/runtime/bin/vmservice/client/lib/src/elements/script_inset.html b/runtime/bin/vmservice/client/lib/src/elements/script_inset.html
|
| index 7216605ed733d3c637483d56efd197d8a9aacd71..cefb95c18e3f9ea8d8b1caead639b9468334e0f7 100644
|
| --- a/runtime/bin/vmservice/client/lib/src/elements/script_inset.html
|
| +++ b/runtime/bin/vmservice/client/lib/src/elements/script_inset.html
|
| @@ -18,29 +18,16 @@
|
| <div class="sourceInset">
|
| <content></content>
|
| <div class="grayBox">
|
| - <template if="{{ coverage == true }}">
|
| - <table>
|
| - <tbody>
|
| - <tr template repeat="{{ line in lines }}">
|
| - <td style="{{ hitStyle(line) }}"><span> </span></td>
|
| - <td style="font-family: consolas, courier, monospace;font-size: 1em;line-height: 1.2em;white-space: nowrap;">{{line.line}}</td>
|
| - <td> </td>
|
| - <td width="99%" style="font-family: consolas, courier, monospace;font-size: 1em;line-height: 1.2em;white-space: pre;">{{line.text}}</td>
|
| - </tr>
|
| - </tbody>
|
| - </table>
|
| - </template>
|
| - <template if="{{ coverage == false }}">
|
| - <table>
|
| - <tbody>
|
| - <tr template repeat="{{ line in lines }}">
|
| - <td style="font-family: consolas, courier, monospace;font-size: 1em;line-height: 1.2em;white-space: nowrap;">{{line.line}}</td>
|
| - <td> </td>
|
| - <td width="99%" style="font-family: consolas, courier, monospace;font-size: 1em;line-height: 1.2em;white-space: pre;">{{line.text}}</td>
|
| - </tr>
|
| - </tbody>
|
| - </table>
|
| - </template>
|
| + <table>
|
| + <tbody>
|
| + <tr template repeat="{{ lineNumber in lineNumbers }}">
|
| + <td style="{{ styleForHits(script.lines[lineNumber].hits) }}"><span> </span></td>
|
| + <td style="font-family: consolas, courier, monospace;font-size: 1em;line-height: 1.2em;white-space: nowrap;">{{script.lines[lineNumber].line}}</td>
|
| + <td> </td>
|
| + <td width="99%" style="font-family: consolas, courier, monospace;font-size: 1em;line-height: 1.2em;white-space: pre;">{{script.lines[lineNumber].text}}</td>
|
| + </tr>
|
| + </tbody>
|
| + </table>
|
| </div>
|
| </div>
|
| </template>
|
|
|