22
22
< div class ='fl pad1y space-right2 '>
23
23
< span class ="strong "> 100% </ span >
24
24
< span class ="quiet "> Statements</ span >
25
- < span class ='fraction '> 602/602 </ span >
25
+ < span class ='fraction '> 596/596 </ span >
26
26
</ div >
27
27
< div class ='fl pad1y space-right2 '>
28
28
< span class ="strong "> 100% </ span >
29
29
< span class ="quiet "> Branches</ span >
30
- < span class ='fraction '> 325/325 </ span >
30
+ < span class ='fraction '> 321/321 </ span >
31
31
</ div >
32
32
< div class ='fl pad1y space-right2 '>
33
33
< span class ="strong "> 100% </ span >
37
37
< div class ='fl pad1y space-right2 '>
38
38
< span class ="strong "> 100% </ span >
39
39
< span class ="quiet "> Lines</ span >
40
- < span class ='fraction '> 592/592 </ span >
40
+ < span class ='fraction '> 585/585 </ span >
41
41
</ div >
42
42
< div class ='fl pad1y '>
43
- < span class ="strong "> 3 statements, 1 function, 8 branches</ span >
43
+ < span class ="strong "> 3 statements, 1 function, 10 branches</ span >
44
44
< span class ="quiet "> Ignored</ span >
45
45
</ div >
46
46
</ div >
@@ -1296,12 +1296,7 @@ <h1>
1296
1296
1247
1297
1297
1248
1298
1298
1249
1299
- 1250
1300
- 1251
1301
- 1252
1302
- 1253
1303
- 1254
1304
- 1255</ td > < td class ="line-coverage quiet "> < span class ="cline-any cline-yes "> 2×</ span >
1299
+ 1250</ td > < td class ="line-coverage quiet "> < span class ="cline-any cline-yes "> 2×</ span >
1305
1300
< span class ="cline-any cline-neutral "> </ span >
1306
1301
< span class ="cline-any cline-neutral "> </ span >
1307
1302
< span class ="cline-any cline-neutral "> </ span >
@@ -1836,7 +1831,7 @@ <h1>
1836
1831
< span class ="cline-any cline-neutral "> </ span >
1837
1832
< span class ="cline-any cline-neutral "> </ span >
1838
1833
< span class ="cline-any cline-yes "> 2×</ span >
1839
- < span class ="cline-any cline-yes "> 559 ×</ span >
1834
+ < span class ="cline-any cline-yes "> 604 ×</ span >
1840
1835
< span class ="cline-any cline-neutral "> </ span >
1841
1836
< span class ="cline-any cline-neutral "> </ span >
1842
1837
< span class ="cline-any cline-yes "> 2×</ span >
@@ -1892,28 +1887,23 @@ <h1>
1892
1887
< span class ="cline-any cline-neutral "> </ span >
1893
1888
< span class ="cline-any cline-neutral "> </ span >
1894
1889
< span class ="cline-any cline-yes "> 271×</ span >
1895
- < span class ="cline-any cline-yes "> 228×</ span >
1896
- < span class ="cline-any cline-yes "> 130×</ span >
1897
- < span class ="cline-any cline-yes "> 130×</ span >
1898
- < span class ="cline-any cline-yes "> 130×</ span >
1899
- < span class ="cline-any cline-yes "> 96×</ span >
1890
+ < span class ="cline-any cline-yes "> 173×</ span >
1891
+ < span class ="cline-any cline-yes "> 173×</ span >
1892
+ < span class ="cline-any cline-yes "> 173×</ span >
1893
+ < span class ="cline-any cline-yes "> 190×</ span >
1900
1894
< span class ="cline-any cline-neutral "> </ span >
1901
- < span class ="cline-any cline-yes "> 34×</ span >
1902
- < span class ="cline-any cline-yes "> 34×</ span >
1903
- < span class ="cline-any cline-yes "> 94×</ span >
1904
1895
< span class ="cline-any cline-neutral "> </ span >
1905
- < span class ="cline-any cline-yes "> 34×</ span >
1896
+ < span class ="cline-any cline-neutral "> </ span >
1897
+ < span class ="cline-any cline-yes "> 190×</ span >
1898
+ < span class ="cline-any cline-neutral "> </ span >
1906
1899
< span class ="cline-any cline-neutral "> </ span >
1907
1900
< span class ="cline-any cline-neutral "> </ span >
1908
- < span class ="cline-any cline-yes "> 98×</ span >
1909
- < span class ="cline-any cline-yes "> 98×</ span >
1910
- < span class ="cline-any cline-yes "> 67×</ span >
1911
1901
< span class ="cline-any cline-neutral "> </ span >
1912
- < span class ="cline-any cline-yes "> 31×</ span >
1913
- < span class ="cline-any cline-yes "> 31×</ span >
1914
- < span class ="cline-any cline-yes "> 31×</ span >
1915
- < span class ="cline-any cline-yes "> 31×</ span >
1916
1902
< span class ="cline-any cline-neutral "> </ span >
1903
+ < span class ="cline-any cline-yes "> 98×</ span >
1904
+ < span class ="cline-any cline-yes "> 98×</ span >
1905
+ < span class ="cline-any cline-yes "> 182×</ span >
1906
+ < span class ="cline-any cline-yes "> 182×</ span >
1917
1907
< span class ="cline-any cline-neutral "> </ span >
1918
1908
< span class ="cline-any cline-neutral "> </ span >
1919
1909
< span class ="cline-any cline-yes "> 271×</ span >
@@ -1937,7 +1927,7 @@ <h1>
1937
1927
< span class ="cline-any cline-neutral "> </ span >
1938
1928
< span class ="cline-any cline-neutral "> </ span >
1939
1929
< span class ="cline-any cline-yes "> 2×</ span >
1940
- < span class ="cline-any cline-yes "> 452 ×</ span >
1930
+ < span class ="cline-any cline-yes "> 460 ×</ span >
1941
1931
< span class ="cline-any cline-neutral "> </ span >
1942
1932
< span class ="cline-any cline-neutral "> </ span >
1943
1933
< span class ="cline-any cline-neutral "> </ span >
@@ -2521,7 +2511,7 @@ <h1>
2521
2511
< span class ="cline-any cline-neutral "> </ span >
2522
2512
< span class ="cline-any cline-neutral "> </ span >
2523
2513
< span class ="cline-any cline-yes "> 2×</ span >
2524
- < span class ="cline-any cline-yes "> 185 ×</ span >
2514
+ < span class ="cline-any cline-yes "> 189 ×</ span >
2525
2515
< span class ="cline-any cline-neutral "> </ span >
2526
2516
< span class ="cline-any cline-yes "> 2×</ span >
2527
2517
< span class ="cline-any cline-neutral "> </ span >
@@ -3020,15 +3010,15 @@ <h1>
3020
3010
var style = original.cloneNode(true);
3021
3011
style.value = '';
3022
3012
node.setAttributeNode(style);
3023
- return update(style, isSVG);
3013
+ return update$1 (style, isSVG);
3024
3014
}
3025
- return update(node.style, isSVG);
3015
+ return update$1 (node.style, isSVG);
3026
3016
});
3027
3017
3028
3018
// the update takes care or changing/replacing
3029
3019
// only properties that are different or
3030
3020
// in case of string, the whole node
3031
- var update = function update(style, isSVG) {
3021
+ var update$1 = function update(style, isSVG) {
3032
3022
var oldType = void 0,
3033
3023
oldValue = void 0;
3034
3024
return function (newValue) {
@@ -3145,31 +3135,26 @@ <h1>
3145
3135
}
3146
3136
}
3147
3137
}
3148
- if (currentStart <= currentEnd || futureStart <= futureEnd) {
3149
- if (currentStart > currentEnd) {
3150
- var pin = futureNodes[futureEnd + 1];
3151
- var place = pin == null ? before : get(pin, 0);
3152
- if (futureStart === futureEnd) {
3153
- parentNode.insertBefore(get(futureNodes[futureStart], 1), place);
3154
- } else {
3155
- var fragment = parentNode.ownerDocument.createDocumentFragment();
3156
- while (futureStart <= futureEnd) {
3157
- fragment.appendChild(get(futureNodes[futureStart++], 1));
3158
- }
3159
- parentNode.insertBefore(fragment, place);
3160
- }
3161
- } else {
3162
- if (currentNodes[currentStart] == null) currentStart++;
3163
- if (currentStart === currentEnd) {
3164
- parentNode.removeChild(get(currentNodes[currentStart], -1));
3165
- } else {
3166
- var range = parentNode.ownerDocument.createRange();
3167
- range.setStartBefore(get(currentNodes[currentStart], -1));
3168
- range.setEndAfter(get(currentNodes[currentEnd], -1));
3169
- range.deleteContents();
3170
- }
3138
+ if (currentStart > currentEnd) {
3139
+ var pin = futureNodes[futureEnd + 1];
3140
+ var place = pin != null ? get(pin, 0) : before;
3141
+ while (futureStart <= futureEnd) {
3142
+ var ch = futureNodes[futureStart++];
3143
+ // ignore until I am sure the else could never happen.
3144
+ // it might be a vDOM thing 'cause it never happens here.
3145
+ /* istanbul ignore else */
3146
+ < span class ="skip-if-branch " title ="else path not taken " > E</ span > if (ch != null) parentNode.insertBefore(get(ch, 1), place);
3171
3147
}
3172
3148
}
3149
+ // ignore until I am sure the else could never happen.
3150
+ // it might be a vDOM thing 'cause it never happens here.
3151
+ /* istanbul ignore else */
3152
+ else < span class ="skip-if-branch " title ="else path not taken " > E</ span > if (futureStart > futureEnd) {
3153
+ while (currentStart <= currentEnd) {
3154
+ var _ch = currentNodes[currentStart++];
3155
+ if (_ch != null) parentNode.removeChild(get(_ch, -1));
3156
+ }
3157
+ }
3173
3158
return futureNodes;
3174
3159
};
3175
3160
@@ -3630,7 +3615,7 @@ <h1>
3630
3615
function render(template) {
3631
3616
var wicked = bewitched.get(this);
3632
3617
if (wicked && wicked.template === unique(template)) {
3633
- update$1 .apply(wicked.updates, arguments);
3618
+ update.apply(wicked.updates, arguments);
3634
3619
} else {
3635
3620
upgrade.apply(this, arguments);
3636
3621
}
@@ -3647,13 +3632,13 @@ <h1>
3647
3632
var fragment = importNode(this.ownerDocument, info.fragment);
3648
3633
var updates = Updates.create(fragment, info.paths);
3649
3634
bewitched.set(this, { template: template, updates: updates });
3650
- update$1 .apply(updates, arguments);
3635
+ update.apply(updates, arguments);
3651
3636
this.textContent = '';
3652
3637
this.appendChild(fragment);
3653
3638
}
3654
3639
3655
3640
// an update simply loops over all mapped DOM operations
3656
- function update$1 () {
3641
+ function update() {
3657
3642
var length = arguments.length;
3658
3643
for (var i = 1; i < length; i++) {
3659
3644
this[i - 1](arguments[i]);
@@ -3794,7 +3779,7 @@ <h1>
3794
3779
// that "magically" understands what's the best
3795
3780
// thing to do with passed arguments
3796
3781
function hyper(HTML) {
3797
- return arguments.length < 2 ? HTML == null ? content('html') : typeof HTML === 'string' ? wire(null, HTML) : 'raw' in HTML ? content('html')(HTML) : 'nodeType' in HTML ? render .bind(HTML) : weakly(HTML, 'html') : ('raw' in HTML ? content('html') : wire).apply(null, arguments);
3782
+ return arguments.length < 2 ? HTML == null ? content('html') : typeof HTML === 'string' ? hyper. wire(null, HTML) : 'raw' in HTML ? content('html')(HTML) : 'nodeType' in HTML ? hyper .bind(HTML) : weakly(HTML, 'html') : ('raw' in HTML ? content('html') : hyper. wire).apply(null, arguments);
3798
3783
}
3799
3784
3800
3785
@@ -3815,7 +3800,7 @@ <h1>
3815
3800
</ div > <!-- /wrapper -->
3816
3801
< div class ='footer quiet pad2 space-top1 center small '>
3817
3802
Code coverage
3818
- generated by < a href ="http://istanbul-js.org/ " target ="_blank "> istanbul</ a > at Tue Jan 30 2018 18:59:09 GMT+0100 (CET)
3803
+ generated by < a href ="http://istanbul-js.org/ " target ="_blank "> istanbul</ a > at Sun Feb 04 2018 18:03:33 GMT+0100 (CET)
3819
3804
</ div >
3820
3805
</ div >
3821
3806
< script src ="../prettify.js "> </ script >
0 commit comments