first commit
This commit is contained in:
1
build/node_modules/css-mqpacker/.istanbul/coverage.json
generated
vendored
Normal file
1
build/node_modules/css-mqpacker/.istanbul/coverage.json
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
213
build/node_modules/css-mqpacker/.istanbul/lcov-report/base.css
generated
vendored
Normal file
213
build/node_modules/css-mqpacker/.istanbul/lcov-report/base.css
generated
vendored
Normal file
@@ -0,0 +1,213 @@
|
||||
body, html {
|
||||
margin:0; padding: 0;
|
||||
height: 100%;
|
||||
}
|
||||
body {
|
||||
font-family: Helvetica Neue, Helvetica, Arial;
|
||||
font-size: 14px;
|
||||
color:#333;
|
||||
}
|
||||
.small { font-size: 12px; }
|
||||
*, *:after, *:before {
|
||||
-webkit-box-sizing:border-box;
|
||||
-moz-box-sizing:border-box;
|
||||
box-sizing:border-box;
|
||||
}
|
||||
h1 { font-size: 20px; margin: 0;}
|
||||
h2 { font-size: 14px; }
|
||||
pre {
|
||||
font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
-moz-tab-size: 2;
|
||||
-o-tab-size: 2;
|
||||
tab-size: 2;
|
||||
}
|
||||
a { color:#0074D9; text-decoration:none; }
|
||||
a:hover { text-decoration:underline; }
|
||||
.strong { font-weight: bold; }
|
||||
.space-top1 { padding: 10px 0 0 0; }
|
||||
.pad2y { padding: 20px 0; }
|
||||
.pad1y { padding: 10px 0; }
|
||||
.pad2x { padding: 0 20px; }
|
||||
.pad2 { padding: 20px; }
|
||||
.pad1 { padding: 10px; }
|
||||
.space-left2 { padding-left:55px; }
|
||||
.space-right2 { padding-right:20px; }
|
||||
.center { text-align:center; }
|
||||
.clearfix { display:block; }
|
||||
.clearfix:after {
|
||||
content:'';
|
||||
display:block;
|
||||
height:0;
|
||||
clear:both;
|
||||
visibility:hidden;
|
||||
}
|
||||
.fl { float: left; }
|
||||
@media only screen and (max-width:640px) {
|
||||
.col3 { width:100%; max-width:100%; }
|
||||
.hide-mobile { display:none!important; }
|
||||
}
|
||||
|
||||
.quiet {
|
||||
color: #7f7f7f;
|
||||
color: rgba(0,0,0,0.5);
|
||||
}
|
||||
.quiet a { opacity: 0.7; }
|
||||
|
||||
.fraction {
|
||||
font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
|
||||
font-size: 10px;
|
||||
color: #555;
|
||||
background: #E8E8E8;
|
||||
padding: 4px 5px;
|
||||
border-radius: 3px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
div.path a:link, div.path a:visited { color: #333; }
|
||||
table.coverage {
|
||||
border-collapse: collapse;
|
||||
margin: 10px 0 0 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
table.coverage td {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
vertical-align: top;
|
||||
}
|
||||
table.coverage td.line-count {
|
||||
text-align: right;
|
||||
padding: 0 5px 0 20px;
|
||||
}
|
||||
table.coverage td.line-coverage {
|
||||
text-align: right;
|
||||
padding-right: 10px;
|
||||
min-width:20px;
|
||||
}
|
||||
|
||||
table.coverage td span.cline-any {
|
||||
display: inline-block;
|
||||
padding: 0 5px;
|
||||
width: 100%;
|
||||
}
|
||||
.missing-if-branch {
|
||||
display: inline-block;
|
||||
margin-right: 5px;
|
||||
border-radius: 3px;
|
||||
position: relative;
|
||||
padding: 0 4px;
|
||||
background: #333;
|
||||
color: yellow;
|
||||
}
|
||||
|
||||
.skip-if-branch {
|
||||
display: none;
|
||||
margin-right: 10px;
|
||||
position: relative;
|
||||
padding: 0 4px;
|
||||
background: #ccc;
|
||||
color: white;
|
||||
}
|
||||
.missing-if-branch .typ, .skip-if-branch .typ {
|
||||
color: inherit !important;
|
||||
}
|
||||
.coverage-summary {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
.coverage-summary tr { border-bottom: 1px solid #bbb; }
|
||||
.keyline-all { border: 1px solid #ddd; }
|
||||
.coverage-summary td, .coverage-summary th { padding: 10px; }
|
||||
.coverage-summary tbody { border: 1px solid #bbb; }
|
||||
.coverage-summary td { border-right: 1px solid #bbb; }
|
||||
.coverage-summary td:last-child { border-right: none; }
|
||||
.coverage-summary th {
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.coverage-summary th.file { border-right: none !important; }
|
||||
.coverage-summary th.pct { }
|
||||
.coverage-summary th.pic,
|
||||
.coverage-summary th.abs,
|
||||
.coverage-summary td.pct,
|
||||
.coverage-summary td.abs { text-align: right; }
|
||||
.coverage-summary td.file { white-space: nowrap; }
|
||||
.coverage-summary td.pic { min-width: 120px !important; }
|
||||
.coverage-summary tfoot td { }
|
||||
|
||||
.coverage-summary .sorter {
|
||||
height: 10px;
|
||||
width: 7px;
|
||||
display: inline-block;
|
||||
margin-left: 0.5em;
|
||||
background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent;
|
||||
}
|
||||
.coverage-summary .sorted .sorter {
|
||||
background-position: 0 -20px;
|
||||
}
|
||||
.coverage-summary .sorted-desc .sorter {
|
||||
background-position: 0 -10px;
|
||||
}
|
||||
.status-line { height: 10px; }
|
||||
/* dark red */
|
||||
.red.solid, .status-line.low, .low .cover-fill { background:#C21F39 }
|
||||
.low .chart { border:1px solid #C21F39 }
|
||||
/* medium red */
|
||||
.cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE }
|
||||
/* light red */
|
||||
.low, .cline-no { background:#FCE1E5 }
|
||||
/* light green */
|
||||
.high, .cline-yes { background:rgb(230,245,208) }
|
||||
/* medium green */
|
||||
.cstat-yes { background:rgb(161,215,106) }
|
||||
/* dark green */
|
||||
.status-line.high, .high .cover-fill { background:rgb(77,146,33) }
|
||||
.high .chart { border:1px solid rgb(77,146,33) }
|
||||
/* dark yellow (gold) */
|
||||
.medium .chart { border:1px solid #f9cd0b; }
|
||||
.status-line.medium, .medium .cover-fill { background: #f9cd0b; }
|
||||
/* light yellow */
|
||||
.medium { background: #fff4c2; }
|
||||
/* light gray */
|
||||
span.cline-neutral { background: #eaeaea; }
|
||||
|
||||
.cbranch-no { background: yellow !important; color: #111; }
|
||||
|
||||
.cstat-skip { background: #ddd; color: #111; }
|
||||
.fstat-skip { background: #ddd; color: #111 !important; }
|
||||
.cbranch-skip { background: #ddd !important; color: #111; }
|
||||
|
||||
|
||||
.cover-fill, .cover-empty {
|
||||
display:inline-block;
|
||||
height: 12px;
|
||||
}
|
||||
.chart {
|
||||
line-height: 0;
|
||||
}
|
||||
.cover-empty {
|
||||
background: white;
|
||||
}
|
||||
.cover-full {
|
||||
border-right: none !important;
|
||||
}
|
||||
pre.prettyprint {
|
||||
border: none !important;
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
.com { color: #999 !important; }
|
||||
.ignore-none { color: #999; font-weight: normal; }
|
||||
|
||||
.wrapper {
|
||||
min-height: 100%;
|
||||
height: auto !important;
|
||||
height: 100%;
|
||||
margin: 0 auto -48px;
|
||||
}
|
||||
.footer, .push {
|
||||
height: 48px;
|
||||
}
|
||||
93
build/node_modules/css-mqpacker/.istanbul/lcov-report/index.html
generated
vendored
Normal file
93
build/node_modules/css-mqpacker/.istanbul/lcov-report/index.html
generated
vendored
Normal file
@@ -0,0 +1,93 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Code coverage report for All files</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="prettify.css" />
|
||||
<link rel="stylesheet" href="base.css" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<style type='text/css'>
|
||||
.coverage-summary .sorter {
|
||||
background-image: url(sort-arrow-sprite.png);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class='wrapper'>
|
||||
<div class='pad1'>
|
||||
<h1>
|
||||
/
|
||||
</h1>
|
||||
<div class='clearfix'>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">100% </span>
|
||||
<span class="quiet">Statements</span>
|
||||
<span class='fraction'>100/100</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">100% </span>
|
||||
<span class="quiet">Branches</span>
|
||||
<span class='fraction'>38/38</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">100% </span>
|
||||
<span class="quiet">Functions</span>
|
||||
<span class='fraction'>20/20</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">100% </span>
|
||||
<span class="quiet">Lines</span>
|
||||
<span class='fraction'>100/100</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class='status-line high'></div>
|
||||
<div class="pad1">
|
||||
<table class="coverage-summary">
|
||||
<thead>
|
||||
<tr>
|
||||
<th data-col="file" data-fmt="html" data-html="true" class="file">File</th>
|
||||
<th data-col="pic" data-type="number" data-fmt="html" data-html="true" class="pic"></th>
|
||||
<th data-col="statements" data-type="number" data-fmt="pct" class="pct">Statements</th>
|
||||
<th data-col="statements_raw" data-type="number" data-fmt="html" class="abs"></th>
|
||||
<th data-col="branches" data-type="number" data-fmt="pct" class="pct">Branches</th>
|
||||
<th data-col="branches_raw" data-type="number" data-fmt="html" class="abs"></th>
|
||||
<th data-col="functions" data-type="number" data-fmt="pct" class="pct">Functions</th>
|
||||
<th data-col="functions_raw" data-type="number" data-fmt="html" class="abs"></th>
|
||||
<th data-col="lines" data-type="number" data-fmt="pct" class="pct">Lines</th>
|
||||
<th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr>
|
||||
<td class="file high" data-value="node-css-mqpacker/"><a href="node-css-mqpacker/index.html">node-css-mqpacker/</a></td>
|
||||
<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>
|
||||
<td data-value="100" class="pct high">100%</td>
|
||||
<td data-value="100" class="abs high">100/100</td>
|
||||
<td data-value="100" class="pct high">100%</td>
|
||||
<td data-value="38" class="abs high">38/38</td>
|
||||
<td data-value="100" class="pct high">100%</td>
|
||||
<td data-value="20" class="abs high">20/20</td>
|
||||
<td data-value="100" class="pct high">100%</td>
|
||||
<td data-value="100" class="abs high">100/100</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div><div class='push'></div><!-- for sticky footer -->
|
||||
</div><!-- /wrapper -->
|
||||
<div class='footer quiet pad2 space-top1 center small'>
|
||||
Code coverage
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun May 07 2017 13:54:37 GMT+0900 (東京 (標準時))
|
||||
</div>
|
||||
</div>
|
||||
<script src="prettify.js"></script>
|
||||
<script>
|
||||
window.onload = function () {
|
||||
if (typeof prettyPrint === 'function') {
|
||||
prettyPrint();
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<script src="sorter.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
93
build/node_modules/css-mqpacker/.istanbul/lcov-report/node-css-mqpacker/index.html
generated
vendored
Normal file
93
build/node_modules/css-mqpacker/.istanbul/lcov-report/node-css-mqpacker/index.html
generated
vendored
Normal file
@@ -0,0 +1,93 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Code coverage report for node-css-mqpacker\</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="../prettify.css" />
|
||||
<link rel="stylesheet" href="../base.css" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<style type='text/css'>
|
||||
.coverage-summary .sorter {
|
||||
background-image: url(../sort-arrow-sprite.png);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class='wrapper'>
|
||||
<div class='pad1'>
|
||||
<h1>
|
||||
<a href="../index.html">all files</a> node-css-mqpacker/
|
||||
</h1>
|
||||
<div class='clearfix'>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">100% </span>
|
||||
<span class="quiet">Statements</span>
|
||||
<span class='fraction'>100/100</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">100% </span>
|
||||
<span class="quiet">Branches</span>
|
||||
<span class='fraction'>38/38</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">100% </span>
|
||||
<span class="quiet">Functions</span>
|
||||
<span class='fraction'>20/20</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">100% </span>
|
||||
<span class="quiet">Lines</span>
|
||||
<span class='fraction'>100/100</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class='status-line high'></div>
|
||||
<div class="pad1">
|
||||
<table class="coverage-summary">
|
||||
<thead>
|
||||
<tr>
|
||||
<th data-col="file" data-fmt="html" data-html="true" class="file">File</th>
|
||||
<th data-col="pic" data-type="number" data-fmt="html" data-html="true" class="pic"></th>
|
||||
<th data-col="statements" data-type="number" data-fmt="pct" class="pct">Statements</th>
|
||||
<th data-col="statements_raw" data-type="number" data-fmt="html" class="abs"></th>
|
||||
<th data-col="branches" data-type="number" data-fmt="pct" class="pct">Branches</th>
|
||||
<th data-col="branches_raw" data-type="number" data-fmt="html" class="abs"></th>
|
||||
<th data-col="functions" data-type="number" data-fmt="pct" class="pct">Functions</th>
|
||||
<th data-col="functions_raw" data-type="number" data-fmt="html" class="abs"></th>
|
||||
<th data-col="lines" data-type="number" data-fmt="pct" class="pct">Lines</th>
|
||||
<th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr>
|
||||
<td class="file high" data-value="index.js"><a href="index.js.html">index.js</a></td>
|
||||
<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>
|
||||
<td data-value="100" class="pct high">100%</td>
|
||||
<td data-value="100" class="abs high">100/100</td>
|
||||
<td data-value="100" class="pct high">100%</td>
|
||||
<td data-value="38" class="abs high">38/38</td>
|
||||
<td data-value="100" class="pct high">100%</td>
|
||||
<td data-value="20" class="abs high">20/20</td>
|
||||
<td data-value="100" class="pct high">100%</td>
|
||||
<td data-value="100" class="abs high">100/100</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div><div class='push'></div><!-- for sticky footer -->
|
||||
</div><!-- /wrapper -->
|
||||
<div class='footer quiet pad2 space-top1 center small'>
|
||||
Code coverage
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun May 07 2017 13:54:37 GMT+0900 (東京 (標準時))
|
||||
</div>
|
||||
</div>
|
||||
<script src="../prettify.js"></script>
|
||||
<script>
|
||||
window.onload = function () {
|
||||
if (typeof prettyPrint === 'function') {
|
||||
prettyPrint();
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<script src="../sorter.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
644
build/node_modules/css-mqpacker/.istanbul/lcov-report/node-css-mqpacker/index.js.html
generated
vendored
Normal file
644
build/node_modules/css-mqpacker/.istanbul/lcov-report/node-css-mqpacker/index.js.html
generated
vendored
Normal file
@@ -0,0 +1,644 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Code coverage report for node-css-mqpacker\index.js</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="../prettify.css" />
|
||||
<link rel="stylesheet" href="../base.css" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<style type='text/css'>
|
||||
.coverage-summary .sorter {
|
||||
background-image: url(../sort-arrow-sprite.png);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class='wrapper'>
|
||||
<div class='pad1'>
|
||||
<h1>
|
||||
<a href="../index.html">all files</a> / <a href="index.html">node-css-mqpacker/</a> index.js
|
||||
</h1>
|
||||
<div class='clearfix'>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">100% </span>
|
||||
<span class="quiet">Statements</span>
|
||||
<span class='fraction'>100/100</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">100% </span>
|
||||
<span class="quiet">Branches</span>
|
||||
<span class='fraction'>38/38</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">100% </span>
|
||||
<span class="quiet">Functions</span>
|
||||
<span class='fraction'>20/20</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">100% </span>
|
||||
<span class="quiet">Lines</span>
|
||||
<span class='fraction'>100/100</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class='status-line high'></div>
|
||||
<pre><table class="coverage">
|
||||
<tr><td class="line-count quiet">1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
10
|
||||
11
|
||||
12
|
||||
13
|
||||
14
|
||||
15
|
||||
16
|
||||
17
|
||||
18
|
||||
19
|
||||
20
|
||||
21
|
||||
22
|
||||
23
|
||||
24
|
||||
25
|
||||
26
|
||||
27
|
||||
28
|
||||
29
|
||||
30
|
||||
31
|
||||
32
|
||||
33
|
||||
34
|
||||
35
|
||||
36
|
||||
37
|
||||
38
|
||||
39
|
||||
40
|
||||
41
|
||||
42
|
||||
43
|
||||
44
|
||||
45
|
||||
46
|
||||
47
|
||||
48
|
||||
49
|
||||
50
|
||||
51
|
||||
52
|
||||
53
|
||||
54
|
||||
55
|
||||
56
|
||||
57
|
||||
58
|
||||
59
|
||||
60
|
||||
61
|
||||
62
|
||||
63
|
||||
64
|
||||
65
|
||||
66
|
||||
67
|
||||
68
|
||||
69
|
||||
70
|
||||
71
|
||||
72
|
||||
73
|
||||
74
|
||||
75
|
||||
76
|
||||
77
|
||||
78
|
||||
79
|
||||
80
|
||||
81
|
||||
82
|
||||
83
|
||||
84
|
||||
85
|
||||
86
|
||||
87
|
||||
88
|
||||
89
|
||||
90
|
||||
91
|
||||
92
|
||||
93
|
||||
94
|
||||
95
|
||||
96
|
||||
97
|
||||
98
|
||||
99
|
||||
100
|
||||
101
|
||||
102
|
||||
103
|
||||
104
|
||||
105
|
||||
106
|
||||
107
|
||||
108
|
||||
109
|
||||
110
|
||||
111
|
||||
112
|
||||
113
|
||||
114
|
||||
115
|
||||
116
|
||||
117
|
||||
118
|
||||
119
|
||||
120
|
||||
121
|
||||
122
|
||||
123
|
||||
124
|
||||
125
|
||||
126
|
||||
127
|
||||
128
|
||||
129
|
||||
130
|
||||
131
|
||||
132
|
||||
133
|
||||
134
|
||||
135
|
||||
136
|
||||
137
|
||||
138
|
||||
139
|
||||
140
|
||||
141
|
||||
142
|
||||
143
|
||||
144
|
||||
145
|
||||
146
|
||||
147
|
||||
148
|
||||
149
|
||||
150
|
||||
151
|
||||
152
|
||||
153
|
||||
154
|
||||
155
|
||||
156
|
||||
157
|
||||
158
|
||||
159
|
||||
160
|
||||
161
|
||||
162
|
||||
163
|
||||
164
|
||||
165
|
||||
166
|
||||
167
|
||||
168
|
||||
169
|
||||
170
|
||||
171
|
||||
172
|
||||
173
|
||||
174
|
||||
175
|
||||
176
|
||||
177
|
||||
178
|
||||
179
|
||||
180
|
||||
181
|
||||
182
|
||||
183
|
||||
184
|
||||
185
|
||||
186
|
||||
187
|
||||
188
|
||||
189
|
||||
190
|
||||
191
|
||||
192
|
||||
193
|
||||
194</td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-yes">21×</span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">20×</span>
|
||||
<span class="cline-any cline-yes">18×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">2×</span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-yes">33×</span>
|
||||
<span class="cline-any cline-yes">33×</span>
|
||||
<span class="cline-any cline-yes">36×</span>
|
||||
<span class="cline-any cline-yes">36×</span>
|
||||
<span class="cline-any cline-yes">50×</span>
|
||||
<span class="cline-any cline-yes">50×</span>
|
||||
<span class="cline-any cline-yes">50×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">50×</span>
|
||||
<span class="cline-any cline-yes">6×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">44×</span>
|
||||
<span class="cline-any cline-yes">8×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">8×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">36×</span>
|
||||
<span class="cline-any cline-yes">36×</span>
|
||||
<span class="cline-any cline-yes">36×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">36×</span>
|
||||
<span class="cline-any cline-yes">33×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">36×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">36×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">33×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-yes">39×</span>
|
||||
<span class="cline-any cline-yes">39×</span>
|
||||
<span class="cline-any cline-yes">39×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">39×</span>
|
||||
<span class="cline-any cline-yes">7×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">32×</span>
|
||||
<span class="cline-any cline-yes">32×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">32×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">25×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">25×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">5×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">5×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">32×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-yes">33×</span>
|
||||
<span class="cline-any cline-yes">33×</span>
|
||||
<span class="cline-any cline-yes">36×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">36×</span>
|
||||
<span class="cline-any cline-yes">7×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">36×</span>
|
||||
<span class="cline-any cline-yes">3×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">33×</span>
|
||||
<span class="cline-any cline-yes">3×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-yes">21×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">21×</span>
|
||||
<span class="cline-any cline-yes">11×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">10×</span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">9×</span>
|
||||
<span class="cline-any cline-yes">33×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">9×</span>
|
||||
<span class="cline-any cline-yes">33×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">42×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">33×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-yes">21×</span>
|
||||
<span class="cline-any cline-yes">4×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">21×</span>
|
||||
<span class="cline-any cline-yes">11×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">21×</span>
|
||||
<span class="cline-any cline-yes">21×</span>
|
||||
<span class="cline-any cline-yes">21×</span>
|
||||
<span class="cline-any cline-yes">21×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">21×</span>
|
||||
<span class="cline-any cline-yes">20×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">21×</span>
|
||||
<span class="cline-any cline-yes">58×</span>
|
||||
<span class="cline-any cline-yes">58×</span>
|
||||
<span class="cline-any cline-yes">58×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">58×</span>
|
||||
<span class="cline-any cline-yes">8×</span>
|
||||
<span class="cline-any cline-yes">8×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">50×</span>
|
||||
<span class="cline-any cline-yes">50×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">58×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">21×</span>
|
||||
<span class="cline-any cline-yes">50×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">21×</span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">21×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-yes">18×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">"use strict";
|
||||
|
||||
var list = require("postcss/lib/list");
|
||||
var pkg = require("./package.json");
|
||||
var postcss = require("postcss");
|
||||
|
||||
var isSourceMapAnnotation = function (rule) {
|
||||
if (!rule) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (rule.type !== "comment") {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (rule.text.toLowerCase().indexOf("# sourcemappingurl=") !== 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
};
|
||||
|
||||
var parseQueryList = function (queryList) {
|
||||
var queries = [];
|
||||
list.comma(queryList).forEach(function (query) {
|
||||
var expressions = {};
|
||||
list.space(query).forEach(function (expression) {
|
||||
var feature;
|
||||
var value;
|
||||
expression = expression.toLowerCase();
|
||||
|
||||
if (expression === "and") {
|
||||
return;
|
||||
}
|
||||
|
||||
if (/^\w+$/.test(expression)) {
|
||||
expressions[expression] = true;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
expression = list.split(expression.replace(/^\(|\)$/g, ""), [":"]);
|
||||
feature = expression[0];
|
||||
value = expression[1];
|
||||
|
||||
if (!expressions[feature]) {
|
||||
expressions[feature] = [];
|
||||
}
|
||||
|
||||
expressions[feature].push(value);
|
||||
});
|
||||
queries.push(expressions);
|
||||
});
|
||||
|
||||
return queries;
|
||||
};
|
||||
|
||||
var inspectLength = function (length) {
|
||||
var num;
|
||||
var unit;
|
||||
length = /(-?\d*\.?\d+)(ch|em|ex|px|rem)/.exec(length);
|
||||
|
||||
if (!length) {
|
||||
return Number.MAX_VALUE;
|
||||
}
|
||||
|
||||
num = length[1];
|
||||
unit = length[2];
|
||||
|
||||
switch (unit) {
|
||||
case "ch":
|
||||
num = parseFloat(num) * 8.8984375;
|
||||
|
||||
break;
|
||||
|
||||
case "em":
|
||||
case "rem":
|
||||
num = parseFloat(num) * 16;
|
||||
|
||||
break;
|
||||
|
||||
case "ex":
|
||||
num = parseFloat(num) * 8.296875;
|
||||
|
||||
break;
|
||||
|
||||
case "px":
|
||||
num = parseFloat(num);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
return num;
|
||||
};
|
||||
|
||||
var pickMinimumMinWidth = function (expressions) {
|
||||
var minWidths = [];
|
||||
expressions.forEach(function (feature) {
|
||||
var minWidth = feature["min-width"];
|
||||
|
||||
if (!minWidth || feature.not || feature.print) {
|
||||
minWidth = [null];
|
||||
}
|
||||
|
||||
minWidths.push(minWidth.map(inspectLength).sort(function (a, b) {
|
||||
return b - a;
|
||||
})[0]);
|
||||
});
|
||||
|
||||
return minWidths.sort(function (a, b) {
|
||||
return a - b;
|
||||
})[0];
|
||||
};
|
||||
|
||||
var sortQueryLists = function (queryLists, sort) {
|
||||
var mapQueryLists = [];
|
||||
|
||||
if (!sort) {
|
||||
return queryLists;
|
||||
}
|
||||
|
||||
if (typeof sort === "function") {
|
||||
return queryLists.sort(sort);
|
||||
}
|
||||
|
||||
queryLists.forEach(function (queryList) {
|
||||
mapQueryLists.push(parseQueryList(queryList));
|
||||
});
|
||||
|
||||
return mapQueryLists.map(function (e, i) {
|
||||
return {
|
||||
index: i,
|
||||
value: pickMinimumMinWidth(e)
|
||||
};
|
||||
}).sort(function (a, b) {
|
||||
return a.value - b.value;
|
||||
}).map(function (e) {
|
||||
return queryLists[e.index];
|
||||
});
|
||||
};
|
||||
|
||||
module.exports = postcss.plugin(pkg.name, function (opts) {
|
||||
if (!opts) {
|
||||
opts = {};
|
||||
}
|
||||
|
||||
if (!opts.sort) {
|
||||
opts.sort = false;
|
||||
}
|
||||
|
||||
return function (css) {
|
||||
var queries = {};
|
||||
var queryLists = [];
|
||||
var sourceMap = css.last;
|
||||
|
||||
if (!isSourceMapAnnotation(sourceMap)) {
|
||||
sourceMap = null;
|
||||
}
|
||||
|
||||
css.walkAtRules("media", function (atRule) {
|
||||
var past;
|
||||
var queryList = atRule.params;
|
||||
past = queries[queryList];
|
||||
|
||||
if (typeof past === "object") {
|
||||
atRule.each(function (rule) {
|
||||
past.append(rule.clone());
|
||||
});
|
||||
} else {
|
||||
queries[queryList] = atRule.clone();
|
||||
queryLists.push(queryList);
|
||||
}
|
||||
|
||||
atRule.remove();
|
||||
});
|
||||
|
||||
sortQueryLists(queryLists, opts.sort).forEach(function (queryList) {
|
||||
css.append(queries[queryList]);
|
||||
});
|
||||
|
||||
if (sourceMap) {
|
||||
sourceMap.moveTo(css);
|
||||
}
|
||||
|
||||
return css;
|
||||
};
|
||||
});
|
||||
|
||||
module.exports.pack = function (css, opts) {
|
||||
return postcss([
|
||||
this(opts)
|
||||
]).process(css, opts);
|
||||
};
|
||||
</pre></td></tr>
|
||||
</table></pre>
|
||||
<div class='push'></div><!-- for sticky footer -->
|
||||
</div><!-- /wrapper -->
|
||||
<div class='footer quiet pad2 space-top1 center small'>
|
||||
Code coverage
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun May 07 2017 13:54:37 GMT+0900 (東京 (標準時))
|
||||
</div>
|
||||
</div>
|
||||
<script src="../prettify.js"></script>
|
||||
<script>
|
||||
window.onload = function () {
|
||||
if (typeof prettyPrint === 'function') {
|
||||
prettyPrint();
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<script src="../sorter.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
636
build/node_modules/css-mqpacker/.istanbul/lcov-report/node-css-mqpacker/lib/css-mqpacker.js.html
generated
vendored
Normal file
636
build/node_modules/css-mqpacker/.istanbul/lcov-report/node-css-mqpacker/lib/css-mqpacker.js.html
generated
vendored
Normal file
@@ -0,0 +1,636 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Code coverage report for node-css-mqpacker\lib\css-mqpacker.js</title>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="../../prettify.css">
|
||||
<link rel="stylesheet" href="../../base.css">
|
||||
<style type='text/css'>
|
||||
div.coverage-summary .sorter {
|
||||
background-image: url(../../sort-arrow-sprite.png);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="header high">
|
||||
<h1>Code coverage report for <span class="entity">node-css-mqpacker\lib\css-mqpacker.js</span></h1>
|
||||
<h2>
|
||||
Statements: <span class="metric">100% <small>(100 / 100)</small></span>
|
||||
Branches: <span class="metric">100% <small>(38 / 38)</small></span>
|
||||
Functions: <span class="metric">100% <small>(20 / 20)</small></span>
|
||||
Lines: <span class="metric">100% <small>(100 / 100)</small></span>
|
||||
Ignored: <span class="metric"><span class="ignore-none">none</span></span>
|
||||
</h2>
|
||||
<div class="path"><a href="../../index.html">All files</a> » <a href="index.html">node-css-mqpacker/lib/</a> » css-mqpacker.js</div>
|
||||
</div>
|
||||
<div class="body">
|
||||
<pre><table class="coverage">
|
||||
<tr><td class="line-count">1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
10
|
||||
11
|
||||
12
|
||||
13
|
||||
14
|
||||
15
|
||||
16
|
||||
17
|
||||
18
|
||||
19
|
||||
20
|
||||
21
|
||||
22
|
||||
23
|
||||
24
|
||||
25
|
||||
26
|
||||
27
|
||||
28
|
||||
29
|
||||
30
|
||||
31
|
||||
32
|
||||
33
|
||||
34
|
||||
35
|
||||
36
|
||||
37
|
||||
38
|
||||
39
|
||||
40
|
||||
41
|
||||
42
|
||||
43
|
||||
44
|
||||
45
|
||||
46
|
||||
47
|
||||
48
|
||||
49
|
||||
50
|
||||
51
|
||||
52
|
||||
53
|
||||
54
|
||||
55
|
||||
56
|
||||
57
|
||||
58
|
||||
59
|
||||
60
|
||||
61
|
||||
62
|
||||
63
|
||||
64
|
||||
65
|
||||
66
|
||||
67
|
||||
68
|
||||
69
|
||||
70
|
||||
71
|
||||
72
|
||||
73
|
||||
74
|
||||
75
|
||||
76
|
||||
77
|
||||
78
|
||||
79
|
||||
80
|
||||
81
|
||||
82
|
||||
83
|
||||
84
|
||||
85
|
||||
86
|
||||
87
|
||||
88
|
||||
89
|
||||
90
|
||||
91
|
||||
92
|
||||
93
|
||||
94
|
||||
95
|
||||
96
|
||||
97
|
||||
98
|
||||
99
|
||||
100
|
||||
101
|
||||
102
|
||||
103
|
||||
104
|
||||
105
|
||||
106
|
||||
107
|
||||
108
|
||||
109
|
||||
110
|
||||
111
|
||||
112
|
||||
113
|
||||
114
|
||||
115
|
||||
116
|
||||
117
|
||||
118
|
||||
119
|
||||
120
|
||||
121
|
||||
122
|
||||
123
|
||||
124
|
||||
125
|
||||
126
|
||||
127
|
||||
128
|
||||
129
|
||||
130
|
||||
131
|
||||
132
|
||||
133
|
||||
134
|
||||
135
|
||||
136
|
||||
137
|
||||
138
|
||||
139
|
||||
140
|
||||
141
|
||||
142
|
||||
143
|
||||
144
|
||||
145
|
||||
146
|
||||
147
|
||||
148
|
||||
149
|
||||
150
|
||||
151
|
||||
152
|
||||
153
|
||||
154
|
||||
155
|
||||
156
|
||||
157
|
||||
158
|
||||
159
|
||||
160
|
||||
161
|
||||
162
|
||||
163
|
||||
164
|
||||
165
|
||||
166
|
||||
167
|
||||
168
|
||||
169
|
||||
170
|
||||
171
|
||||
172
|
||||
173
|
||||
174
|
||||
175
|
||||
176
|
||||
177
|
||||
178
|
||||
179
|
||||
180
|
||||
181
|
||||
182
|
||||
183
|
||||
184
|
||||
185
|
||||
186
|
||||
187
|
||||
188
|
||||
189
|
||||
190
|
||||
191
|
||||
192
|
||||
193
|
||||
194
|
||||
195
|
||||
196
|
||||
197
|
||||
198</td><td class="line-coverage"><span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1</span>
|
||||
<span class="cline-any cline-yes">1</span>
|
||||
<span class="cline-any cline-yes">1</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1</span>
|
||||
<span class="cline-any cline-yes">21</span>
|
||||
<span class="cline-any cline-yes">1</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">20</span>
|
||||
<span class="cline-any cline-yes">18</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">2</span>
|
||||
<span class="cline-any cline-yes">1</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1</span>
|
||||
<span class="cline-any cline-yes">33</span>
|
||||
<span class="cline-any cline-yes">33</span>
|
||||
<span class="cline-any cline-yes">36</span>
|
||||
<span class="cline-any cline-yes">36</span>
|
||||
<span class="cline-any cline-yes">50</span>
|
||||
<span class="cline-any cline-yes">50</span>
|
||||
<span class="cline-any cline-yes">50</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">50</span>
|
||||
<span class="cline-any cline-yes">6</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">44</span>
|
||||
<span class="cline-any cline-yes">8</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">8</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">36</span>
|
||||
<span class="cline-any cline-yes">36</span>
|
||||
<span class="cline-any cline-yes">36</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">36</span>
|
||||
<span class="cline-any cline-yes">33</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">36</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">36</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">33</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1</span>
|
||||
<span class="cline-any cline-yes">39</span>
|
||||
<span class="cline-any cline-yes">39</span>
|
||||
<span class="cline-any cline-yes">39</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">39</span>
|
||||
<span class="cline-any cline-yes">7</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">32</span>
|
||||
<span class="cline-any cline-yes">32</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">32</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">25</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">25</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">5</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">5</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">32</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1</span>
|
||||
<span class="cline-any cline-yes">33</span>
|
||||
<span class="cline-any cline-yes">33</span>
|
||||
<span class="cline-any cline-yes">36</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">36</span>
|
||||
<span class="cline-any cline-yes">7</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">36</span>
|
||||
<span class="cline-any cline-yes">3</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">33</span>
|
||||
<span class="cline-any cline-yes">3</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1</span>
|
||||
<span class="cline-any cline-yes">21</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">21</span>
|
||||
<span class="cline-any cline-yes">11</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">10</span>
|
||||
<span class="cline-any cline-yes">1</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">9</span>
|
||||
<span class="cline-any cline-yes">33</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">9</span>
|
||||
<span class="cline-any cline-yes">33</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">42</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">33</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1</span>
|
||||
<span class="cline-any cline-yes">22</span>
|
||||
<span class="cline-any cline-yes">5</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">22</span>
|
||||
<span class="cline-any cline-yes">12</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">22</span>
|
||||
<span class="cline-any cline-yes">21</span>
|
||||
<span class="cline-any cline-yes">21</span>
|
||||
<span class="cline-any cline-yes">21</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">21</span>
|
||||
<span class="cline-any cline-yes">20</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">21</span>
|
||||
<span class="cline-any cline-yes">58</span>
|
||||
<span class="cline-any cline-yes">58</span>
|
||||
<span class="cline-any cline-yes">58</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">58</span>
|
||||
<span class="cline-any cline-yes">8</span>
|
||||
<span class="cline-any cline-yes">8</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">50</span>
|
||||
<span class="cline-any cline-yes">50</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">58</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">21</span>
|
||||
<span class="cline-any cline-yes">50</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">21</span>
|
||||
<span class="cline-any cline-yes">1</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">21</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1</span>
|
||||
<span class="cline-any cline-yes">18</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">"use strict";
|
||||
|
||||
var list = require("postcss/lib/list");
|
||||
var pkg = require("../package.json");
|
||||
var postcss = require("postcss");
|
||||
|
||||
var isSourceMapAnnotation = function (rule) {
|
||||
if (!rule) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (rule.type !== "comment") {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (rule.text.toLowerCase().indexOf("# sourcemappingurl=") !== 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
};
|
||||
|
||||
var parseQueryList = function (queryList) {
|
||||
var queries = [];
|
||||
list.comma(queryList).forEach(function (query) {
|
||||
var expressions = {};
|
||||
list.space(query).forEach(function (expression) {
|
||||
var feature;
|
||||
var value;
|
||||
expression = expression.toLowerCase();
|
||||
|
||||
if (expression === "and") {
|
||||
return;
|
||||
}
|
||||
|
||||
if (/^\w+$/.test(expression)) {
|
||||
expressions[expression] = true;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
expression = list.split(expression.replace(/^\(|\)$/g, ""), [":"]);
|
||||
feature = expression[0];
|
||||
value = expression[1];
|
||||
|
||||
if (!expressions[feature]) {
|
||||
expressions[feature] = [];
|
||||
}
|
||||
|
||||
expressions[feature].push(value);
|
||||
});
|
||||
queries.push(expressions);
|
||||
});
|
||||
|
||||
return queries;
|
||||
};
|
||||
|
||||
var inspectLength = function (length) {
|
||||
var num;
|
||||
var unit;
|
||||
length = /(-?\d*\.?\d+)(ch|em|ex|px|rem)/.exec(length);
|
||||
|
||||
if (!length) {
|
||||
return Number.MAX_VALUE;
|
||||
}
|
||||
|
||||
num = length[1];
|
||||
unit = length[2];
|
||||
|
||||
switch (unit) {
|
||||
case "ch": {
|
||||
num = parseFloat(num) * 8.8984375;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
case "em":
|
||||
case "rem": {
|
||||
num = parseFloat(num) * 16;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
case "ex": {
|
||||
num = parseFloat(num) * 8.296875;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
case "px": {
|
||||
num = parseFloat(num);
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return num;
|
||||
};
|
||||
|
||||
var pickMinimumMinWidth = function (expressions) {
|
||||
var minWidths = [];
|
||||
expressions.forEach(function (feature) {
|
||||
var minWidth = feature["min-width"];
|
||||
|
||||
if (!minWidth || feature.not || feature.print) {
|
||||
minWidth = [null];
|
||||
}
|
||||
|
||||
minWidths.push(minWidth.map(inspectLength).sort(function (a, b) {
|
||||
return b - a;
|
||||
})[0]);
|
||||
});
|
||||
|
||||
return minWidths.sort(function (a, b) {
|
||||
return a - b;
|
||||
})[0];
|
||||
};
|
||||
|
||||
var sortQueryLists = function (queryLists, sort) {
|
||||
var mapQueryLists = [];
|
||||
|
||||
if (!sort) {
|
||||
return queryLists;
|
||||
}
|
||||
|
||||
if (typeof sort === "function") {
|
||||
return queryLists.sort(sort);
|
||||
}
|
||||
|
||||
queryLists.forEach(function (queryList) {
|
||||
mapQueryLists.push(parseQueryList(queryList));
|
||||
});
|
||||
|
||||
return mapQueryLists.map(function (e, i) {
|
||||
return {
|
||||
index: i,
|
||||
value: pickMinimumMinWidth(e)
|
||||
};
|
||||
}).sort(function (a, b) {
|
||||
return a.value - b.value;
|
||||
}).map(function (e) {
|
||||
return queryLists[e.index];
|
||||
});
|
||||
};
|
||||
|
||||
module.exports = postcss.plugin(pkg.name, function (opts) {
|
||||
if (!opts) {
|
||||
opts = {};
|
||||
}
|
||||
|
||||
if (!opts.sort) {
|
||||
opts.sort = false;
|
||||
}
|
||||
|
||||
return function (css) {
|
||||
var queries = {};
|
||||
var queryLists = [];
|
||||
var sourceMap = css.last;
|
||||
|
||||
if (!isSourceMapAnnotation(sourceMap)) {
|
||||
sourceMap = null;
|
||||
}
|
||||
|
||||
css.walkAtRules("media", function (atRule) {
|
||||
var past;
|
||||
var queryList = atRule.params;
|
||||
past = queries[queryList];
|
||||
|
||||
if (typeof past === "object") {
|
||||
atRule.each(function (rule) {
|
||||
past.append(rule.clone());
|
||||
});
|
||||
} else {
|
||||
queries[queryList] = atRule.clone();
|
||||
queryLists.push(queryList);
|
||||
}
|
||||
|
||||
atRule.remove();
|
||||
});
|
||||
|
||||
sortQueryLists(queryLists, opts.sort).forEach(function (queryList) {
|
||||
css.append(queries[queryList]);
|
||||
});
|
||||
|
||||
if (sourceMap) {
|
||||
sourceMap.moveTo(css);
|
||||
}
|
||||
|
||||
return css;
|
||||
};
|
||||
});
|
||||
|
||||
module.exports.pack = function (css, opts) {
|
||||
return postcss([
|
||||
this(opts)
|
||||
]).process(css, opts);
|
||||
};
|
||||
</pre></td></tr>
|
||||
</table></pre>
|
||||
|
||||
</div>
|
||||
<div class="footer">
|
||||
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed Aug 26 2015 01:56:58 GMT+0900 (東京 (標準時))</div>
|
||||
</div>
|
||||
<script src="../../prettify.js"></script>
|
||||
<script>
|
||||
window.onload = function () {
|
||||
if (typeof prettyPrint === 'function') {
|
||||
prettyPrint();
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<script src="../../sorter.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
73
build/node_modules/css-mqpacker/.istanbul/lcov-report/node-css-mqpacker/lib/index.html
generated
vendored
Normal file
73
build/node_modules/css-mqpacker/.istanbul/lcov-report/node-css-mqpacker/lib/index.html
generated
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Code coverage report for node-css-mqpacker\lib\</title>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="../../prettify.css">
|
||||
<link rel="stylesheet" href="../../base.css">
|
||||
<style type='text/css'>
|
||||
div.coverage-summary .sorter {
|
||||
background-image: url(../../sort-arrow-sprite.png);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="header high">
|
||||
<h1>Code coverage report for <span class="entity">node-css-mqpacker\lib\</span></h1>
|
||||
<h2>
|
||||
Statements: <span class="metric">100% <small>(100 / 100)</small></span>
|
||||
Branches: <span class="metric">100% <small>(38 / 38)</small></span>
|
||||
Functions: <span class="metric">100% <small>(20 / 20)</small></span>
|
||||
Lines: <span class="metric">100% <small>(100 / 100)</small></span>
|
||||
Ignored: <span class="metric"><span class="ignore-none">none</span></span>
|
||||
</h2>
|
||||
<div class="path"><a href="../../index.html">All files</a> » node-css-mqpacker/lib/</div>
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="coverage-summary">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th data-col="file" data-fmt="html" data-html="true" class="file">File</th>
|
||||
<th data-col="pic" data-type="number" data-fmt="html" data-html="true" class="pic"></th>
|
||||
<th data-col="statements" data-type="number" data-fmt="pct" class="pct">Statements</th>
|
||||
<th data-col="statements_raw" data-type="number" data-fmt="html" class="abs"></th>
|
||||
<th data-col="branches" data-type="number" data-fmt="pct" class="pct">Branches</th>
|
||||
<th data-col="branches_raw" data-type="number" data-fmt="html" class="abs"></th>
|
||||
<th data-col="functions" data-type="number" data-fmt="pct" class="pct">Functions</th>
|
||||
<th data-col="functions_raw" data-type="number" data-fmt="html" class="abs"></th>
|
||||
<th data-col="lines" data-type="number" data-fmt="pct" class="pct">Lines</th>
|
||||
<th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr>
|
||||
<td class="file high" data-value="css-mqpacker.js"><a href="css-mqpacker.js.html">css-mqpacker.js</a></td>
|
||||
<td data-value="100" class="pic high"><span class="cover-fill cover-full" style="width: 100px;"></span><span class="cover-empty" style="width:0px;"></span></td>
|
||||
<td data-value="100" class="pct high">100%</td>
|
||||
<td data-value="100" class="abs high">(100 / 100)</td>
|
||||
<td data-value="100" class="pct high">100%</td>
|
||||
<td data-value="38" class="abs high">(38 / 38)</td>
|
||||
<td data-value="100" class="pct high">100%</td>
|
||||
<td data-value="20" class="abs high">(20 / 20)</td>
|
||||
<td data-value="100" class="pct high">100%</td>
|
||||
<td data-value="100" class="abs high">(100 / 100)</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed Aug 26 2015 01:56:58 GMT+0900 (東京 (標準時))</div>
|
||||
</div>
|
||||
<script src="../../prettify.js"></script>
|
||||
<script>
|
||||
window.onload = function () {
|
||||
if (typeof prettyPrint === 'function') {
|
||||
prettyPrint();
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<script src="../../sorter.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
1
build/node_modules/css-mqpacker/.istanbul/lcov-report/prettify.css
generated
vendored
Normal file
1
build/node_modules/css-mqpacker/.istanbul/lcov-report/prettify.css
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}
|
||||
1
build/node_modules/css-mqpacker/.istanbul/lcov-report/prettify.js
generated
vendored
Normal file
1
build/node_modules/css-mqpacker/.istanbul/lcov-report/prettify.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
build/node_modules/css-mqpacker/.istanbul/lcov-report/sort-arrow-sprite.png
generated
vendored
Normal file
BIN
build/node_modules/css-mqpacker/.istanbul/lcov-report/sort-arrow-sprite.png
generated
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 209 B |
158
build/node_modules/css-mqpacker/.istanbul/lcov-report/sorter.js
generated
vendored
Normal file
158
build/node_modules/css-mqpacker/.istanbul/lcov-report/sorter.js
generated
vendored
Normal file
@@ -0,0 +1,158 @@
|
||||
var addSorting = (function () {
|
||||
"use strict";
|
||||
var cols,
|
||||
currentSort = {
|
||||
index: 0,
|
||||
desc: false
|
||||
};
|
||||
|
||||
// returns the summary table element
|
||||
function getTable() { return document.querySelector('.coverage-summary'); }
|
||||
// returns the thead element of the summary table
|
||||
function getTableHeader() { return getTable().querySelector('thead tr'); }
|
||||
// returns the tbody element of the summary table
|
||||
function getTableBody() { return getTable().querySelector('tbody'); }
|
||||
// returns the th element for nth column
|
||||
function getNthColumn(n) { return getTableHeader().querySelectorAll('th')[n]; }
|
||||
|
||||
// loads all columns
|
||||
function loadColumns() {
|
||||
var colNodes = getTableHeader().querySelectorAll('th'),
|
||||
colNode,
|
||||
cols = [],
|
||||
col,
|
||||
i;
|
||||
|
||||
for (i = 0; i < colNodes.length; i += 1) {
|
||||
colNode = colNodes[i];
|
||||
col = {
|
||||
key: colNode.getAttribute('data-col'),
|
||||
sortable: !colNode.getAttribute('data-nosort'),
|
||||
type: colNode.getAttribute('data-type') || 'string'
|
||||
};
|
||||
cols.push(col);
|
||||
if (col.sortable) {
|
||||
col.defaultDescSort = col.type === 'number';
|
||||
colNode.innerHTML = colNode.innerHTML + '<span class="sorter"></span>';
|
||||
}
|
||||
}
|
||||
return cols;
|
||||
}
|
||||
// attaches a data attribute to every tr element with an object
|
||||
// of data values keyed by column name
|
||||
function loadRowData(tableRow) {
|
||||
var tableCols = tableRow.querySelectorAll('td'),
|
||||
colNode,
|
||||
col,
|
||||
data = {},
|
||||
i,
|
||||
val;
|
||||
for (i = 0; i < tableCols.length; i += 1) {
|
||||
colNode = tableCols[i];
|
||||
col = cols[i];
|
||||
val = colNode.getAttribute('data-value');
|
||||
if (col.type === 'number') {
|
||||
val = Number(val);
|
||||
}
|
||||
data[col.key] = val;
|
||||
}
|
||||
return data;
|
||||
}
|
||||
// loads all row data
|
||||
function loadData() {
|
||||
var rows = getTableBody().querySelectorAll('tr'),
|
||||
i;
|
||||
|
||||
for (i = 0; i < rows.length; i += 1) {
|
||||
rows[i].data = loadRowData(rows[i]);
|
||||
}
|
||||
}
|
||||
// sorts the table using the data for the ith column
|
||||
function sortByIndex(index, desc) {
|
||||
var key = cols[index].key,
|
||||
sorter = function (a, b) {
|
||||
a = a.data[key];
|
||||
b = b.data[key];
|
||||
return a < b ? -1 : a > b ? 1 : 0;
|
||||
},
|
||||
finalSorter = sorter,
|
||||
tableBody = document.querySelector('.coverage-summary tbody'),
|
||||
rowNodes = tableBody.querySelectorAll('tr'),
|
||||
rows = [],
|
||||
i;
|
||||
|
||||
if (desc) {
|
||||
finalSorter = function (a, b) {
|
||||
return -1 * sorter(a, b);
|
||||
};
|
||||
}
|
||||
|
||||
for (i = 0; i < rowNodes.length; i += 1) {
|
||||
rows.push(rowNodes[i]);
|
||||
tableBody.removeChild(rowNodes[i]);
|
||||
}
|
||||
|
||||
rows.sort(finalSorter);
|
||||
|
||||
for (i = 0; i < rows.length; i += 1) {
|
||||
tableBody.appendChild(rows[i]);
|
||||
}
|
||||
}
|
||||
// removes sort indicators for current column being sorted
|
||||
function removeSortIndicators() {
|
||||
var col = getNthColumn(currentSort.index),
|
||||
cls = col.className;
|
||||
|
||||
cls = cls.replace(/ sorted$/, '').replace(/ sorted-desc$/, '');
|
||||
col.className = cls;
|
||||
}
|
||||
// adds sort indicators for current column being sorted
|
||||
function addSortIndicators() {
|
||||
getNthColumn(currentSort.index).className += currentSort.desc ? ' sorted-desc' : ' sorted';
|
||||
}
|
||||
// adds event listeners for all sorter widgets
|
||||
function enableUI() {
|
||||
var i,
|
||||
el,
|
||||
ithSorter = function ithSorter(i) {
|
||||
var col = cols[i];
|
||||
|
||||
return function () {
|
||||
var desc = col.defaultDescSort;
|
||||
|
||||
if (currentSort.index === i) {
|
||||
desc = !currentSort.desc;
|
||||
}
|
||||
sortByIndex(i, desc);
|
||||
removeSortIndicators();
|
||||
currentSort.index = i;
|
||||
currentSort.desc = desc;
|
||||
addSortIndicators();
|
||||
};
|
||||
};
|
||||
for (i =0 ; i < cols.length; i += 1) {
|
||||
if (cols[i].sortable) {
|
||||
// add the click event handler on the th so users
|
||||
// dont have to click on those tiny arrows
|
||||
el = getNthColumn(i).querySelector('.sorter').parentElement;
|
||||
if (el.addEventListener) {
|
||||
el.addEventListener('click', ithSorter(i));
|
||||
} else {
|
||||
el.attachEvent('onclick', ithSorter(i));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// adds sorting functionality to the UI
|
||||
return function () {
|
||||
if (!getTable()) {
|
||||
return;
|
||||
}
|
||||
cols = loadColumns();
|
||||
loadData(cols);
|
||||
addSortIndicators();
|
||||
enableUI();
|
||||
};
|
||||
})();
|
||||
|
||||
window.addEventListener('load', addSorting);
|
||||
187
build/node_modules/css-mqpacker/.istanbul/lcov.info
generated
vendored
Normal file
187
build/node_modules/css-mqpacker/.istanbul/lcov.info
generated
vendored
Normal file
@@ -0,0 +1,187 @@
|
||||
TN:
|
||||
SF:C:\Users\Kyo\Projects\node-css-mqpacker\index.js
|
||||
FN:7,(anonymous_1)
|
||||
FN:23,(anonymous_2)
|
||||
FN:25,(anonymous_3)
|
||||
FN:27,(anonymous_4)
|
||||
FN:58,(anonymous_5)
|
||||
FN:96,(anonymous_6)
|
||||
FN:98,(anonymous_7)
|
||||
FN:105,(anonymous_8)
|
||||
FN:110,(anonymous_9)
|
||||
FN:115,(anonymous_10)
|
||||
FN:126,(anonymous_11)
|
||||
FN:130,(anonymous_12)
|
||||
FN:135,(anonymous_13)
|
||||
FN:137,(anonymous_14)
|
||||
FN:142,(anonymous_15)
|
||||
FN:151,(anonymous_16)
|
||||
FN:160,(anonymous_17)
|
||||
FN:166,(anonymous_18)
|
||||
FN:177,(anonymous_19)
|
||||
FN:189,(anonymous_20)
|
||||
FNF:20
|
||||
FNH:20
|
||||
FNDA:21,(anonymous_1)
|
||||
FNDA:33,(anonymous_2)
|
||||
FNDA:36,(anonymous_3)
|
||||
FNDA:50,(anonymous_4)
|
||||
FNDA:39,(anonymous_5)
|
||||
FNDA:33,(anonymous_6)
|
||||
FNDA:36,(anonymous_7)
|
||||
FNDA:3,(anonymous_8)
|
||||
FNDA:3,(anonymous_9)
|
||||
FNDA:21,(anonymous_10)
|
||||
FNDA:33,(anonymous_11)
|
||||
FNDA:33,(anonymous_12)
|
||||
FNDA:42,(anonymous_13)
|
||||
FNDA:33,(anonymous_14)
|
||||
FNDA:21,(anonymous_15)
|
||||
FNDA:21,(anonymous_16)
|
||||
FNDA:58,(anonymous_17)
|
||||
FNDA:8,(anonymous_18)
|
||||
FNDA:50,(anonymous_19)
|
||||
FNDA:18,(anonymous_20)
|
||||
DA:3,1
|
||||
DA:4,1
|
||||
DA:5,1
|
||||
DA:7,1
|
||||
DA:8,21
|
||||
DA:9,1
|
||||
DA:12,20
|
||||
DA:13,18
|
||||
DA:16,2
|
||||
DA:17,1
|
||||
DA:20,1
|
||||
DA:23,1
|
||||
DA:24,33
|
||||
DA:25,33
|
||||
DA:26,36
|
||||
DA:27,36
|
||||
DA:28,50
|
||||
DA:29,50
|
||||
DA:30,50
|
||||
DA:32,50
|
||||
DA:33,6
|
||||
DA:36,44
|
||||
DA:37,8
|
||||
DA:39,8
|
||||
DA:42,36
|
||||
DA:43,36
|
||||
DA:44,36
|
||||
DA:46,36
|
||||
DA:47,33
|
||||
DA:50,36
|
||||
DA:52,36
|
||||
DA:55,33
|
||||
DA:58,1
|
||||
DA:59,39
|
||||
DA:60,39
|
||||
DA:61,39
|
||||
DA:63,39
|
||||
DA:64,7
|
||||
DA:67,32
|
||||
DA:68,32
|
||||
DA:70,32
|
||||
DA:72,1
|
||||
DA:74,1
|
||||
DA:78,25
|
||||
DA:80,25
|
||||
DA:83,1
|
||||
DA:85,1
|
||||
DA:88,5
|
||||
DA:90,5
|
||||
DA:93,32
|
||||
DA:96,1
|
||||
DA:97,33
|
||||
DA:98,33
|
||||
DA:99,36
|
||||
DA:101,36
|
||||
DA:102,7
|
||||
DA:105,36
|
||||
DA:106,3
|
||||
DA:110,33
|
||||
DA:111,3
|
||||
DA:115,1
|
||||
DA:116,21
|
||||
DA:118,21
|
||||
DA:119,11
|
||||
DA:122,10
|
||||
DA:123,1
|
||||
DA:126,9
|
||||
DA:127,33
|
||||
DA:130,9
|
||||
DA:131,33
|
||||
DA:136,42
|
||||
DA:138,33
|
||||
DA:142,1
|
||||
DA:143,21
|
||||
DA:144,4
|
||||
DA:147,21
|
||||
DA:148,11
|
||||
DA:151,21
|
||||
DA:152,21
|
||||
DA:153,21
|
||||
DA:154,21
|
||||
DA:156,21
|
||||
DA:157,20
|
||||
DA:160,21
|
||||
DA:161,58
|
||||
DA:162,58
|
||||
DA:163,58
|
||||
DA:165,58
|
||||
DA:166,8
|
||||
DA:167,8
|
||||
DA:170,50
|
||||
DA:171,50
|
||||
DA:174,58
|
||||
DA:177,21
|
||||
DA:178,50
|
||||
DA:181,21
|
||||
DA:182,1
|
||||
DA:185,21
|
||||
DA:189,1
|
||||
DA:190,18
|
||||
LF:100
|
||||
LH:100
|
||||
BRDA:8,1,0,1
|
||||
BRDA:8,1,1,20
|
||||
BRDA:12,2,0,18
|
||||
BRDA:12,2,1,2
|
||||
BRDA:16,3,0,1
|
||||
BRDA:16,3,1,1
|
||||
BRDA:32,4,0,6
|
||||
BRDA:32,4,1,44
|
||||
BRDA:36,5,0,8
|
||||
BRDA:36,5,1,36
|
||||
BRDA:46,6,0,33
|
||||
BRDA:46,6,1,3
|
||||
BRDA:63,7,0,7
|
||||
BRDA:63,7,1,32
|
||||
BRDA:70,8,0,1
|
||||
BRDA:70,8,1,24
|
||||
BRDA:70,8,2,25
|
||||
BRDA:70,8,3,1
|
||||
BRDA:70,8,4,5
|
||||
BRDA:101,9,0,7
|
||||
BRDA:101,9,1,29
|
||||
BRDA:101,10,0,36
|
||||
BRDA:101,10,1,31
|
||||
BRDA:101,10,2,30
|
||||
BRDA:118,11,0,11
|
||||
BRDA:118,11,1,10
|
||||
BRDA:122,12,0,1
|
||||
BRDA:122,12,1,9
|
||||
BRDA:143,13,0,4
|
||||
BRDA:143,13,1,17
|
||||
BRDA:147,14,0,11
|
||||
BRDA:147,14,1,10
|
||||
BRDA:156,15,0,20
|
||||
BRDA:156,15,1,1
|
||||
BRDA:165,16,0,8
|
||||
BRDA:165,16,1,50
|
||||
BRDA:181,17,0,1
|
||||
BRDA:181,17,1,20
|
||||
BRF:38
|
||||
BRH:38
|
||||
end_of_record
|
||||
Reference in New Issue
Block a user