Skip to content

Commit eefa44f

Browse files
committed
fix for #115
A splice could leave or create duplicates, but this is not possible with same DOM nodes. This patch removes from the DOM only nodes that are not in the list of future nodes that should be added.
1 parent 1a4c129 commit eefa44f

File tree

12 files changed

+1383
-1315
lines changed

12 files changed

+1383
-1315
lines changed

coverage/coverage.json

+1-1
Large diffs are not rendered by default.

coverage/lcov-report/hyperHTML/index.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ <h1>
2222
<div class='fl pad1y space-right2'>
2323
<span class="strong">100% </span>
2424
<span class="quiet">Statements</span>
25-
<span class='fraction'>610/610</span>
25+
<span class='fraction'>612/612</span>
2626
</div>
2727
<div class='fl pad1y space-right2'>
2828
<span class="strong">100% </span>
2929
<span class="quiet">Branches</span>
30-
<span class='fraction'>346/346</span>
30+
<span class='fraction'>344/344</span>
3131
</div>
3232
<div class='fl pad1y space-right2'>
3333
<span class="strong">100% </span>
@@ -37,7 +37,7 @@ <h1>
3737
<div class='fl pad1y space-right2'>
3838
<span class="strong">100% </span>
3939
<span class="quiet">Lines</span>
40-
<span class='fraction'>598/598</span>
40+
<span class='fraction'>600/600</span>
4141
</div>
4242
</div>
4343
</div>
@@ -62,13 +62,13 @@ <h1>
6262
<td class="file high" data-value="index.js"><a href="index.js.html">index.js</a></td>
6363
<td data-value="100" class="pic high"><div class="chart"><div class="cover-fill cover-full" style="width: 100%;"></div><div class="cover-empty" style="width:0%;"></div></div></td>
6464
<td data-value="100" class="pct high">100%</td>
65-
<td data-value="610" class="abs high">610/610</td>
65+
<td data-value="612" class="abs high">612/612</td>
6666
<td data-value="100" class="pct high">100%</td>
67-
<td data-value="346" class="abs high">346/346</td>
67+
<td data-value="344" class="abs high">344/344</td>
6868
<td data-value="100" class="pct high">100%</td>
6969
<td data-value="98" class="abs high">98/98</td>
7070
<td data-value="100" class="pct high">100%</td>
71-
<td data-value="598" class="abs high">598/598</td>
71+
<td data-value="600" class="abs high">600/600</td>
7272
</tr>
7373

7474
</tbody>
@@ -77,7 +77,7 @@ <h1>
7777
</div><!-- /wrapper -->
7878
<div class='footer quiet pad2 space-top1 center small'>
7979
Code coverage
80-
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Mon Sep 18 2017 13:34:40 GMT+0200 (CEST)
80+
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed Sep 20 2017 03:35:39 GMT+0200 (CEST)
8181
</div>
8282
</div>
8383
<script src="../prettify.js"></script>

coverage/lcov-report/hyperHTML/index.js.html

+292-277
Large diffs are not rendered by default.

coverage/lcov-report/index.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ <h1>
2222
<div class='fl pad1y space-right2'>
2323
<span class="strong">100% </span>
2424
<span class="quiet">Statements</span>
25-
<span class='fraction'>610/610</span>
25+
<span class='fraction'>612/612</span>
2626
</div>
2727
<div class='fl pad1y space-right2'>
2828
<span class="strong">100% </span>
2929
<span class="quiet">Branches</span>
30-
<span class='fraction'>346/346</span>
30+
<span class='fraction'>344/344</span>
3131
</div>
3232
<div class='fl pad1y space-right2'>
3333
<span class="strong">100% </span>
@@ -37,7 +37,7 @@ <h1>
3737
<div class='fl pad1y space-right2'>
3838
<span class="strong">100% </span>
3939
<span class="quiet">Lines</span>
40-
<span class='fraction'>598/598</span>
40+
<span class='fraction'>600/600</span>
4141
</div>
4242
</div>
4343
</div>
@@ -62,13 +62,13 @@ <h1>
6262
<td class="file high" data-value="hyperHTML/"><a href="hyperHTML/index.html">hyperHTML/</a></td>
6363
<td data-value="100" class="pic high"><div class="chart"><div class="cover-fill cover-full" style="width: 100%;"></div><div class="cover-empty" style="width:0%;"></div></div></td>
6464
<td data-value="100" class="pct high">100%</td>
65-
<td data-value="610" class="abs high">610/610</td>
65+
<td data-value="612" class="abs high">612/612</td>
6666
<td data-value="100" class="pct high">100%</td>
67-
<td data-value="346" class="abs high">346/346</td>
67+
<td data-value="344" class="abs high">344/344</td>
6868
<td data-value="100" class="pct high">100%</td>
6969
<td data-value="98" class="abs high">98/98</td>
7070
<td data-value="100" class="pct high">100%</td>
71-
<td data-value="598" class="abs high">598/598</td>
71+
<td data-value="600" class="abs high">600/600</td>
7272
</tr>
7373

7474
</tbody>
@@ -77,7 +77,7 @@ <h1>
7777
</div><!-- /wrapper -->
7878
<div class='footer quiet pad2 space-top1 center small'>
7979
Code coverage
80-
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Mon Sep 18 2017 13:34:40 GMT+0200 (CEST)
80+
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed Sep 20 2017 03:35:39 GMT+0200 (CEST)
8181
</div>
8282
</div>
8383
<script src="prettify.js"></script>

0 commit comments

Comments
 (0)