@madgex/design-system 1.26.2 → 1.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/__tests__/unit/src/components/switch-state.spec.js +21 -0
  2. package/coverage/cobertura-coverage.xml +77 -1
  3. package/coverage/components/accordion/accordion.js.html +1 -1
  4. package/coverage/components/accordion/index.html +1 -1
  5. package/coverage/components/switch-state/index.html +97 -0
  6. package/coverage/components/switch-state/switch-state.js.html +105 -0
  7. package/coverage/components/tabs/index.html +1 -1
  8. package/coverage/components/tabs/tabs.js.html +1 -1
  9. package/coverage/index.html +37 -11
  10. package/coverage/js/common.js.html +1 -1
  11. package/coverage/js/fractal-scripts/index.html +97 -0
  12. package/coverage/js/fractal-scripts/switch-state.js.html +141 -0
  13. package/coverage/js/index-fractal.js.html +84 -0
  14. package/coverage/js/index-polyfills.js.html +1 -1
  15. package/coverage/js/index.html +17 -4
  16. package/coverage/js/index.js.html +1 -1
  17. package/coverage/js/polyfills/closest.js.html +1 -1
  18. package/coverage/js/polyfills/index.html +1 -1
  19. package/coverage/tokens/_config.js.html +1 -1
  20. package/coverage/tokens/index.html +1 -1
  21. package/dist/_tokens/css/_tokens.css +1 -1
  22. package/dist/_tokens/js/_tokens-module.js +1 -1
  23. package/dist/_tokens/scss/_tokens.scss +1 -1
  24. package/dist/css/index.css +1 -1
  25. package/dist/js/index.js +2 -2
  26. package/package.json +1 -1
  27. package/src/components/button/button.config.js +9 -1
  28. package/src/components/button/button.scss +7 -0
  29. package/src/components/switch-state/README.md +12 -0
  30. package/src/components/switch-state/_macro.njk +3 -0
  31. package/src/components/switch-state/_template.njk +8 -0
  32. package/src/components/switch-state/switch-state.config.js +11 -0
  33. package/src/components/switch-state/switch-state.js +12 -0
  34. package/src/components/switch-state/switch-state.njk +9 -0
  35. package/src/components/switch-state/switch-state.scss +9 -0
  36. package/src/js/fractal-scripts/switch-state.js +24 -0
  37. package/src/js/index-fractal.js +5 -0
  38. package/src/scss/components/__index.scss +2 -1
  39. package/tasks/js-bundle.js +5 -1
@@ -0,0 +1,21 @@
1
+ import switchState from '../../../../src/components/switch-state/switch-state';
2
+
3
+ describe('Switch State', () => {
4
+ let element = document.createElement('div');
5
+ element.innerHTML = `<button class="mds-switch-state js-mds-switch-state mds-switch-state--inactive">
6
+ <span class="mds-switch-state--inactive">this is inactive</span>
7
+ <span class="mds-switch-state--active">this is active</span>
8
+ </button>`;
9
+ it('setToActive to be true', async () => {
10
+ expect.assertions(2);
11
+ switchState.switchToActive(element);
12
+ expect(element.classList.contains('mds-switch-state--active')).toBe(true);
13
+ expect(element.classList.contains('mds-switch-state--inactive')).toBe(false);
14
+ });
15
+ it('setToInactive to be true', async () => {
16
+ expect.assertions(2);
17
+ switchState.switchToInactive(element);
18
+ expect(element.classList.contains('mds-switch-state--inactive')).toBe(true);
19
+ expect(element.classList.contains('mds-switch-state--active')).toBe(false);
20
+ });
21
+ });
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" ?>
2
2
  <!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
3
- <coverage lines-valid="174" lines-covered="49" line-rate="0.2816" branches-valid="43" branches-covered="9" branch-rate="0.20929999999999999" timestamp="1572369348285" complexity="0" version="0.1">
3
+ <coverage lines-valid="194" lines-covered="54" line-rate="0.2784" branches-valid="47" branches-covered="9" branch-rate="0.19149999999999998" timestamp="1573059125584" complexity="0" version="0.1">
4
4
  <sources>
5
5
  <source>/var/lib/jenkins/jobs/madgex-design-system/branches/master/workspace</source>
6
6
  </sources>
@@ -122,6 +122,31 @@
122
122
  </class>
123
123
  </classes>
124
124
  </package>
125
+ <package name="components.switch-state" line-rate="1" branch-rate="1">
126
+ <classes>
127
+ <class name="switch-state.js" filename="src/components/switch-state/switch-state.js" line-rate="1" branch-rate="1">
128
+ <methods>
129
+ <method name="(anonymous_0)" hits="1" signature="()V">
130
+ <lines>
131
+ <line number="2" hits="1"/>
132
+ </lines>
133
+ </method>
134
+ <method name="(anonymous_1)" hits="1" signature="()V">
135
+ <lines>
136
+ <line number="6" hits="1"/>
137
+ </lines>
138
+ </method>
139
+ </methods>
140
+ <lines>
141
+ <line number="1" hits="1" branch="false"/>
142
+ <line number="3" hits="1" branch="false"/>
143
+ <line number="4" hits="1" branch="false"/>
144
+ <line number="7" hits="1" branch="false"/>
145
+ <line number="8" hits="1" branch="false"/>
146
+ </lines>
147
+ </class>
148
+ </classes>
149
+ </package>
125
150
  <package name="components.tabs" line-rate="0" branch-rate="0">
126
151
  <classes>
127
152
  <class name="tabs.js" filename="src/components/tabs/tabs.js" line-rate="0" branch-rate="0">
@@ -357,6 +382,19 @@
357
382
  <line number="8" hits="0" branch="false"/>
358
383
  </lines>
359
384
  </class>
385
+ <class name="index-fractal.js" filename="src/js/index-fractal.js" line-rate="0" branch-rate="1">
386
+ <methods>
387
+ <method name="(anonymous_0)" hits="0" signature="()V">
388
+ <lines>
389
+ <line number="3" hits="0"/>
390
+ </lines>
391
+ </method>
392
+ </methods>
393
+ <lines>
394
+ <line number="3" hits="0" branch="false"/>
395
+ <line number="4" hits="0" branch="false"/>
396
+ </lines>
397
+ </class>
360
398
  <class name="index-polyfills.js" filename="src/js/index-polyfills.js" line-rate="1" branch-rate="1">
361
399
  <methods>
362
400
  </methods>
@@ -379,6 +417,44 @@
379
417
  </class>
380
418
  </classes>
381
419
  </package>
420
+ <package name="js.fractal-scripts" line-rate="0" branch-rate="0">
421
+ <classes>
422
+ <class name="switch-state.js" filename="src/js/fractal-scripts/switch-state.js" line-rate="0" branch-rate="0">
423
+ <methods>
424
+ <method name="(anonymous_0)" hits="0" signature="()V">
425
+ <lines>
426
+ <line number="4" hits="0"/>
427
+ </lines>
428
+ </method>
429
+ <method name="(anonymous_1)" hits="0" signature="()V">
430
+ <lines>
431
+ <line number="6" hits="0"/>
432
+ </lines>
433
+ </method>
434
+ <method name="(anonymous_2)" hits="0" signature="()V">
435
+ <lines>
436
+ <line number="8" hits="0"/>
437
+ </lines>
438
+ </method>
439
+ </methods>
440
+ <lines>
441
+ <line number="3" hits="0" branch="false"/>
442
+ <line number="5" hits="0" branch="false"/>
443
+ <line number="6" hits="0" branch="false"/>
444
+ <line number="7" hits="0" branch="false"/>
445
+ <line number="8" hits="0" branch="false"/>
446
+ <line number="9" hits="0" branch="false"/>
447
+ <line number="10" hits="0" branch="false"/>
448
+ <line number="11" hits="0" branch="false"/>
449
+ <line number="12" hits="0" branch="true" condition-coverage="0% (0/2)"/>
450
+ <line number="13" hits="0" branch="false"/>
451
+ <line number="14" hits="0" branch="true" condition-coverage="0% (0/2)"/>
452
+ <line number="15" hits="0" branch="false"/>
453
+ <line number="17" hits="0" branch="false"/>
454
+ </lines>
455
+ </class>
456
+ </classes>
457
+ </package>
382
458
  <package name="js.polyfills" line-rate="0" branch-rate="0">
383
459
  <classes>
384
460
  <class name="closest.js" filename="src/js/polyfills/closest.js" line-rate="0" branch-rate="0">
@@ -376,7 +376,7 @@ export default accordion;
376
376
  </div><!-- /wrapper -->
377
377
  <div class='footer quiet pad2 space-top1 center small'>
378
378
  Code coverage
379
- generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Tue Oct 29 2019 17:15:48 GMT+0000 (GMT)
379
+ generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Nov 06 2019 16:52:05 GMT+0000 (GMT)
380
380
  </div>
381
381
  </div>
382
382
  <script src="../../prettify.js"></script>
@@ -80,7 +80,7 @@
80
80
  </div><!-- /wrapper -->
81
81
  <div class='footer quiet pad2 space-top1 center small'>
82
82
  Code coverage
83
- generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Tue Oct 29 2019 17:15:48 GMT+0000 (GMT)
83
+ generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Nov 06 2019 16:52:05 GMT+0000 (GMT)
84
84
  </div>
85
85
  </div>
86
86
  <script src="../../prettify.js"></script>
@@ -0,0 +1,97 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <title>Code coverage report for components/switch-state</title>
5
+ <meta charset="utf-8" />
6
+ <link rel="stylesheet" href="../../prettify.css" />
7
+ <link rel="stylesheet" href="../../base.css" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
9
+ <style type='text/css'>
10
+ .coverage-summary .sorter {
11
+ background-image: url(../../sort-arrow-sprite.png);
12
+ }
13
+ </style>
14
+ </head>
15
+ <body>
16
+ <div class='wrapper'>
17
+ <div class='pad1'>
18
+ <h1>
19
+ <a href="../../index.html">All files</a> components/switch-state
20
+ </h1>
21
+ <div class='clearfix'>
22
+ <div class='fl pad1y space-right2'>
23
+ <span class="strong">100% </span>
24
+ <span class="quiet">Statements</span>
25
+ <span class='fraction'>5/5</span>
26
+ </div>
27
+ <div class='fl pad1y space-right2'>
28
+ <span class="strong">100% </span>
29
+ <span class="quiet">Branches</span>
30
+ <span class='fraction'>0/0</span>
31
+ </div>
32
+ <div class='fl pad1y space-right2'>
33
+ <span class="strong">100% </span>
34
+ <span class="quiet">Functions</span>
35
+ <span class='fraction'>2/2</span>
36
+ </div>
37
+ <div class='fl pad1y space-right2'>
38
+ <span class="strong">100% </span>
39
+ <span class="quiet">Lines</span>
40
+ <span class='fraction'>5/5</span>
41
+ </div>
42
+ </div>
43
+ <p class="quiet">
44
+ Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
45
+ </p>
46
+ </div>
47
+ <div class='status-line high'></div>
48
+ <div class="pad1">
49
+ <table class="coverage-summary">
50
+ <thead>
51
+ <tr>
52
+ <th data-col="file" data-fmt="html" data-html="true" class="file">File</th>
53
+ <th data-col="pic" data-type="number" data-fmt="html" data-html="true" class="pic"></th>
54
+ <th data-col="statements" data-type="number" data-fmt="pct" class="pct">Statements</th>
55
+ <th data-col="statements_raw" data-type="number" data-fmt="html" class="abs"></th>
56
+ <th data-col="branches" data-type="number" data-fmt="pct" class="pct">Branches</th>
57
+ <th data-col="branches_raw" data-type="number" data-fmt="html" class="abs"></th>
58
+ <th data-col="functions" data-type="number" data-fmt="pct" class="pct">Functions</th>
59
+ <th data-col="functions_raw" data-type="number" data-fmt="html" class="abs"></th>
60
+ <th data-col="lines" data-type="number" data-fmt="pct" class="pct">Lines</th>
61
+ <th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th>
62
+ </tr>
63
+ </thead>
64
+ <tbody><tr>
65
+ <td class="file high" data-value="switch-state.js"><a href="switch-state.js.html">switch-state.js</a></td>
66
+ <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>
67
+ <td data-value="100" class="pct high">100%</td>
68
+ <td data-value="5" class="abs high">5/5</td>
69
+ <td data-value="100" class="pct high">100%</td>
70
+ <td data-value="0" class="abs high">0/0</td>
71
+ <td data-value="100" class="pct high">100%</td>
72
+ <td data-value="2" class="abs high">2/2</td>
73
+ <td data-value="100" class="pct high">100%</td>
74
+ <td data-value="5" class="abs high">5/5</td>
75
+ </tr>
76
+
77
+ </tbody>
78
+ </table>
79
+ </div><div class='push'></div><!-- for sticky footer -->
80
+ </div><!-- /wrapper -->
81
+ <div class='footer quiet pad2 space-top1 center small'>
82
+ Code coverage
83
+ generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Nov 06 2019 16:52:05 GMT+0000 (GMT)
84
+ </div>
85
+ </div>
86
+ <script src="../../prettify.js"></script>
87
+ <script>
88
+ window.onload = function () {
89
+ if (typeof prettyPrint === 'function') {
90
+ prettyPrint();
91
+ }
92
+ };
93
+ </script>
94
+ <script src="../../sorter.js"></script>
95
+ <script src="../../block-navigation.js"></script>
96
+ </body>
97
+ </html>
@@ -0,0 +1,105 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <title>Code coverage report for components/switch-state/switch-state.js</title>
5
+ <meta charset="utf-8" />
6
+ <link rel="stylesheet" href="../../prettify.css" />
7
+ <link rel="stylesheet" href="../../base.css" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
9
+ <style type='text/css'>
10
+ .coverage-summary .sorter {
11
+ background-image: url(../../sort-arrow-sprite.png);
12
+ }
13
+ </style>
14
+ </head>
15
+ <body>
16
+ <div class='wrapper'>
17
+ <div class='pad1'>
18
+ <h1>
19
+ <a href="../../index.html">All files</a> / <a href="index.html">components/switch-state</a> switch-state.js
20
+ </h1>
21
+ <div class='clearfix'>
22
+ <div class='fl pad1y space-right2'>
23
+ <span class="strong">100% </span>
24
+ <span class="quiet">Statements</span>
25
+ <span class='fraction'>5/5</span>
26
+ </div>
27
+ <div class='fl pad1y space-right2'>
28
+ <span class="strong">100% </span>
29
+ <span class="quiet">Branches</span>
30
+ <span class='fraction'>0/0</span>
31
+ </div>
32
+ <div class='fl pad1y space-right2'>
33
+ <span class="strong">100% </span>
34
+ <span class="quiet">Functions</span>
35
+ <span class='fraction'>2/2</span>
36
+ </div>
37
+ <div class='fl pad1y space-right2'>
38
+ <span class="strong">100% </span>
39
+ <span class="quiet">Lines</span>
40
+ <span class='fraction'>5/5</span>
41
+ </div>
42
+ </div>
43
+ <p class="quiet">
44
+ Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
45
+ </p>
46
+ </div>
47
+ <div class='status-line high'></div>
48
+ <pre><table class="coverage">
49
+ <tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
50
+ <a name='L2'></a><a href='#L2'>2</a>
51
+ <a name='L3'></a><a href='#L3'>3</a>
52
+ <a name='L4'></a><a href='#L4'>4</a>
53
+ <a name='L5'></a><a href='#L5'>5</a>
54
+ <a name='L6'></a><a href='#L6'>6</a>
55
+ <a name='L7'></a><a href='#L7'>7</a>
56
+ <a name='L8'></a><a href='#L8'>8</a>
57
+ <a name='L9'></a><a href='#L9'>9</a>
58
+ <a name='L10'></a><a href='#L10'>10</a>
59
+ <a name='L11'></a><a href='#L11'>11</a>
60
+ <a name='L12'></a><a href='#L12'>12</a>
61
+ <a name='L13'></a><a href='#L13'>13</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
62
+ <span class="cline-any cline-neutral">&nbsp;</span>
63
+ <span class="cline-any cline-yes">1x</span>
64
+ <span class="cline-any cline-yes">1x</span>
65
+ <span class="cline-any cline-neutral">&nbsp;</span>
66
+ <span class="cline-any cline-neutral">&nbsp;</span>
67
+ <span class="cline-any cline-yes">1x</span>
68
+ <span class="cline-any cline-yes">1x</span>
69
+ <span class="cline-any cline-neutral">&nbsp;</span>
70
+ <span class="cline-any cline-neutral">&nbsp;</span>
71
+ <span class="cline-any cline-neutral">&nbsp;</span>
72
+ <span class="cline-any cline-neutral">&nbsp;</span>
73
+ <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">const switchState = {
74
+ switchToActive: (element) =&gt; {
75
+ element.classList.remove('mds-switch-state--inactive');
76
+ element.classList.add('mds-switch-state--active');
77
+ },
78
+ switchToInactive: (element) =&gt; {
79
+ element.classList.remove('mds-switch-state--active');
80
+ element.classList.add('mds-switch-state--inactive');
81
+ },
82
+ };
83
+ &nbsp;
84
+ export default switchState;
85
+ &nbsp;</pre></td></tr>
86
+ </table></pre>
87
+ <div class='push'></div><!-- for sticky footer -->
88
+ </div><!-- /wrapper -->
89
+ <div class='footer quiet pad2 space-top1 center small'>
90
+ Code coverage
91
+ generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Nov 06 2019 16:52:05 GMT+0000 (GMT)
92
+ </div>
93
+ </div>
94
+ <script src="../../prettify.js"></script>
95
+ <script>
96
+ window.onload = function () {
97
+ if (typeof prettyPrint === 'function') {
98
+ prettyPrint();
99
+ }
100
+ };
101
+ </script>
102
+ <script src="../../sorter.js"></script>
103
+ <script src="../../block-navigation.js"></script>
104
+ </body>
105
+ </html>
@@ -80,7 +80,7 @@
80
80
  </div><!-- /wrapper -->
81
81
  <div class='footer quiet pad2 space-top1 center small'>
82
82
  Code coverage
83
- generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Tue Oct 29 2019 17:15:48 GMT+0000 (GMT)
83
+ generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Nov 06 2019 16:52:05 GMT+0000 (GMT)
84
84
  </div>
85
85
  </div>
86
86
  <script src="../../prettify.js"></script>
@@ -499,7 +499,7 @@ export default tabs;
499
499
  </div><!-- /wrapper -->
500
500
  <div class='footer quiet pad2 space-top1 center small'>
501
501
  Code coverage
502
- generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Tue Oct 29 2019 17:15:48 GMT+0000 (GMT)
502
+ generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Nov 06 2019 16:52:05 GMT+0000 (GMT)
503
503
  </div>
504
504
  </div>
505
505
  <script src="../../prettify.js"></script>
@@ -20,24 +20,24 @@
20
20
  </h1>
21
21
  <div class='clearfix'>
22
22
  <div class='fl pad1y space-right2'>
23
- <span class="strong">28% </span>
23
+ <span class="strong">27.69% </span>
24
24
  <span class="quiet">Statements</span>
25
- <span class='fraction'>49/175</span>
25
+ <span class='fraction'>54/195</span>
26
26
  </div>
27
27
  <div class='fl pad1y space-right2'>
28
- <span class="strong">20.93% </span>
28
+ <span class="strong">19.15% </span>
29
29
  <span class="quiet">Branches</span>
30
- <span class='fraction'>9/43</span>
30
+ <span class='fraction'>9/47</span>
31
31
  </div>
32
32
  <div class='fl pad1y space-right2'>
33
- <span class="strong">11.43% </span>
33
+ <span class="strong">14.63% </span>
34
34
  <span class="quiet">Functions</span>
35
- <span class='fraction'>4/35</span>
35
+ <span class='fraction'>6/41</span>
36
36
  </div>
37
37
  <div class='fl pad1y space-right2'>
38
- <span class="strong">28.16% </span>
38
+ <span class="strong">27.84% </span>
39
39
  <span class="quiet">Lines</span>
40
- <span class='fraction'>49/174</span>
40
+ <span class='fraction'>54/194</span>
41
41
  </div>
42
42
  </div>
43
43
  <p class="quiet">
@@ -74,6 +74,19 @@
74
74
  <td data-value="67" class="abs medium">49/67</td>
75
75
  </tr>
76
76
 
77
+ <tr>
78
+ <td class="file high" data-value="components/switch-state"><a href="components/switch-state/index.html">components/switch-state</a></td>
79
+ <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>
80
+ <td data-value="100" class="pct high">100%</td>
81
+ <td data-value="5" class="abs high">5/5</td>
82
+ <td data-value="100" class="pct high">100%</td>
83
+ <td data-value="0" class="abs high">0/0</td>
84
+ <td data-value="100" class="pct high">100%</td>
85
+ <td data-value="2" class="abs high">2/2</td>
86
+ <td data-value="100" class="pct high">100%</td>
87
+ <td data-value="5" class="abs high">5/5</td>
88
+ </tr>
89
+
77
90
  <tr>
78
91
  <td class="file low" data-value="components/tabs"><a href="components/tabs/index.html">components/tabs</a></td>
79
92
  <td data-value="0" class="pic low"><div class="chart"><div class="cover-fill" style="width: 0%;"></div><div class="cover-empty" style="width:100%;"></div></div></td>
@@ -91,13 +104,26 @@
91
104
  <td class="file low" data-value="js"><a href="js/index.html">js</a></td>
92
105
  <td data-value="0" class="pic low"><div class="chart"><div class="cover-fill" style="width: 0%;"></div><div class="cover-empty" style="width:100%;"></div></div></td>
93
106
  <td data-value="0" class="pct low">0%</td>
94
- <td data-value="8" class="abs low">0/8</td>
107
+ <td data-value="10" class="abs low">0/10</td>
95
108
  <td data-value="100" class="pct high">100%</td>
96
109
  <td data-value="0" class="abs high">0/0</td>
97
110
  <td data-value="0" class="pct low">0%</td>
111
+ <td data-value="4" class="abs low">0/4</td>
112
+ <td data-value="0" class="pct low">0%</td>
113
+ <td data-value="10" class="abs low">0/10</td>
114
+ </tr>
115
+
116
+ <tr>
117
+ <td class="file low" data-value="js/fractal-scripts"><a href="js/fractal-scripts/index.html">js/fractal-scripts</a></td>
118
+ <td data-value="0" class="pic low"><div class="chart"><div class="cover-fill" style="width: 0%;"></div><div class="cover-empty" style="width:100%;"></div></div></td>
119
+ <td data-value="0" class="pct low">0%</td>
120
+ <td data-value="13" class="abs low">0/13</td>
121
+ <td data-value="0" class="pct low">0%</td>
122
+ <td data-value="4" class="abs low">0/4</td>
123
+ <td data-value="0" class="pct low">0%</td>
98
124
  <td data-value="3" class="abs low">0/3</td>
99
125
  <td data-value="0" class="pct low">0%</td>
100
- <td data-value="8" class="abs low">0/8</td>
126
+ <td data-value="13" class="abs low">0/13</td>
101
127
  </tr>
102
128
 
103
129
  <tr>
@@ -132,7 +158,7 @@
132
158
  </div><!-- /wrapper -->
133
159
  <div class='footer quiet pad2 space-top1 center small'>
134
160
  Code coverage
135
- generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Tue Oct 29 2019 17:15:48 GMT+0000 (GMT)
161
+ generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Nov 06 2019 16:52:05 GMT+0000 (GMT)
136
162
  </div>
137
163
  </div>
138
164
  <script src="prettify.js"></script>
@@ -88,7 +88,7 @@
88
88
  </div><!-- /wrapper -->
89
89
  <div class='footer quiet pad2 space-top1 center small'>
90
90
  Code coverage
91
- generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Tue Oct 29 2019 17:15:48 GMT+0000 (GMT)
91
+ generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Nov 06 2019 16:52:05 GMT+0000 (GMT)
92
92
  </div>
93
93
  </div>
94
94
  <script src="../prettify.js"></script>
@@ -0,0 +1,97 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <title>Code coverage report for js/fractal-scripts</title>
5
+ <meta charset="utf-8" />
6
+ <link rel="stylesheet" href="../../prettify.css" />
7
+ <link rel="stylesheet" href="../../base.css" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
9
+ <style type='text/css'>
10
+ .coverage-summary .sorter {
11
+ background-image: url(../../sort-arrow-sprite.png);
12
+ }
13
+ </style>
14
+ </head>
15
+ <body>
16
+ <div class='wrapper'>
17
+ <div class='pad1'>
18
+ <h1>
19
+ <a href="../../index.html">All files</a> js/fractal-scripts
20
+ </h1>
21
+ <div class='clearfix'>
22
+ <div class='fl pad1y space-right2'>
23
+ <span class="strong">0% </span>
24
+ <span class="quiet">Statements</span>
25
+ <span class='fraction'>0/13</span>
26
+ </div>
27
+ <div class='fl pad1y space-right2'>
28
+ <span class="strong">0% </span>
29
+ <span class="quiet">Branches</span>
30
+ <span class='fraction'>0/4</span>
31
+ </div>
32
+ <div class='fl pad1y space-right2'>
33
+ <span class="strong">0% </span>
34
+ <span class="quiet">Functions</span>
35
+ <span class='fraction'>0/3</span>
36
+ </div>
37
+ <div class='fl pad1y space-right2'>
38
+ <span class="strong">0% </span>
39
+ <span class="quiet">Lines</span>
40
+ <span class='fraction'>0/13</span>
41
+ </div>
42
+ </div>
43
+ <p class="quiet">
44
+ Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
45
+ </p>
46
+ </div>
47
+ <div class='status-line low'></div>
48
+ <div class="pad1">
49
+ <table class="coverage-summary">
50
+ <thead>
51
+ <tr>
52
+ <th data-col="file" data-fmt="html" data-html="true" class="file">File</th>
53
+ <th data-col="pic" data-type="number" data-fmt="html" data-html="true" class="pic"></th>
54
+ <th data-col="statements" data-type="number" data-fmt="pct" class="pct">Statements</th>
55
+ <th data-col="statements_raw" data-type="number" data-fmt="html" class="abs"></th>
56
+ <th data-col="branches" data-type="number" data-fmt="pct" class="pct">Branches</th>
57
+ <th data-col="branches_raw" data-type="number" data-fmt="html" class="abs"></th>
58
+ <th data-col="functions" data-type="number" data-fmt="pct" class="pct">Functions</th>
59
+ <th data-col="functions_raw" data-type="number" data-fmt="html" class="abs"></th>
60
+ <th data-col="lines" data-type="number" data-fmt="pct" class="pct">Lines</th>
61
+ <th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th>
62
+ </tr>
63
+ </thead>
64
+ <tbody><tr>
65
+ <td class="file low" data-value="switch-state.js"><a href="switch-state.js.html">switch-state.js</a></td>
66
+ <td data-value="0" class="pic low"><div class="chart"><div class="cover-fill" style="width: 0%;"></div><div class="cover-empty" style="width:100%;"></div></div></td>
67
+ <td data-value="0" class="pct low">0%</td>
68
+ <td data-value="13" class="abs low">0/13</td>
69
+ <td data-value="0" class="pct low">0%</td>
70
+ <td data-value="4" class="abs low">0/4</td>
71
+ <td data-value="0" class="pct low">0%</td>
72
+ <td data-value="3" class="abs low">0/3</td>
73
+ <td data-value="0" class="pct low">0%</td>
74
+ <td data-value="13" class="abs low">0/13</td>
75
+ </tr>
76
+
77
+ </tbody>
78
+ </table>
79
+ </div><div class='push'></div><!-- for sticky footer -->
80
+ </div><!-- /wrapper -->
81
+ <div class='footer quiet pad2 space-top1 center small'>
82
+ Code coverage
83
+ generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Nov 06 2019 16:52:05 GMT+0000 (GMT)
84
+ </div>
85
+ </div>
86
+ <script src="../../prettify.js"></script>
87
+ <script>
88
+ window.onload = function () {
89
+ if (typeof prettyPrint === 'function') {
90
+ prettyPrint();
91
+ }
92
+ };
93
+ </script>
94
+ <script src="../../sorter.js"></script>
95
+ <script src="../../block-navigation.js"></script>
96
+ </body>
97
+ </html>