Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
davedoesdev committed Aug 9, 2017
1 parent 7a48dc9 commit 04dc96c
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 34 deletions.
5 changes: 3 additions & 2 deletions aedes/qlobber-sub.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ QlobberSub.prototype._add_value = function (existing, val)

QlobberSub.prototype._add_values = function (dest, existing, topic)
{
var clientIdAndQos;
if (topic === undefined)
{
for (var clientIdAndQos of existing.clientMap)
for (clientIdAndQos of existing.clientMap)
{
dest.push(
{
Expand All @@ -40,7 +41,7 @@ QlobberSub.prototype._add_values = function (dest, existing, topic)
}
else if (existing.topic === topic)
{
for (var clientIdAndQos of existing.clientMap)
for (clientIdAndQos of existing.clientMap)
{
dest.push(
{
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Aug 09 2017 07:00:15 GMT+0100 (BST)
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Aug 09 2017 07:08:33 GMT+0100 (BST)
</div>
</div>
<script src="prettify.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/qlobber/aedes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Aug 09 2017 07:00:15 GMT+0100 (BST)
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Aug 09 2017 07:08:33 GMT+0100 (BST)
</div>
</div>
<script src="../../prettify.js"></script>
Expand Down
11 changes: 7 additions & 4 deletions coverage/lcov-report/qlobber/aedes/qlobber-sub.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ <h1>
69
70
71
72</td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
72
73</td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
Expand Down Expand Up @@ -142,6 +143,7 @@ <h1>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">9x</span>
Expand Down Expand Up @@ -213,9 +215,10 @@ <h1>
&nbsp;
QlobberSub.prototype._add_values = function (dest, existing, topic)
{
var clientIdAndQos;
if (topic === undefined)
{
for (var clientIdAndQos of existing.clientMap)
for (clientIdAndQos of existing.clientMap)
{
dest.push(
{
Expand All @@ -227,7 +230,7 @@ <h1>
}
else if (existing.topic === topic)
{
for (var clientIdAndQos of existing.clientMap)
for (clientIdAndQos of existing.clientMap)
{
dest.push(
{
Expand Down Expand Up @@ -262,7 +265,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Aug 09 2017 07:00:15 GMT+0100 (BST)
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Aug 09 2017 07:08:33 GMT+0100 (BST)
</div>
</div>
<script src="../../prettify.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/qlobber/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Aug 09 2017 07:00:15 GMT+0100 (BST)
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Aug 09 2017 07:08:33 GMT+0100 (BST)
</div>
</div>
<script src="../prettify.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/qlobber/index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Aug 09 2017 07:00:15 GMT+0100 (BST)
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Aug 09 2017 07:08:33 GMT+0100 (BST)
</div>
</div>
<script src="../prettify.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/qlobber/lib/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Aug 09 2017 07:00:15 GMT+0100 (BST)
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Aug 09 2017 07:08:33 GMT+0100 (BST)
</div>
</div>
<script src="../../prettify.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/qlobber/lib/qlobber.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -1969,7 +1969,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Aug 09 2017 07:00:15 GMT+0100 (BST)
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Aug 09 2017 07:08:33 GMT+0100 (BST)
</div>
</div>
<script src="../../prettify.js"></script>
Expand Down
44 changes: 22 additions & 22 deletions coverage/lcov.info
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ FN:7,QlobberSub
FN:14,(anonymous_1)
FN:22,(anonymous_2)
FN:27,(anonymous_3)
FN:54,(anonymous_4)
FN:60,(anonymous_5)
FN:66,(anonymous_6)
FN:55,(anonymous_4)
FN:61,(anonymous_5)
FN:67,(anonymous_6)
FNF:7
FNH:7
FNDA:7,QlobberSub
Expand All @@ -35,28 +35,28 @@ DA:16,9
DA:22,1
DA:24,5
DA:27,1
DA:29,13
DA:31,9
DA:33,11
DA:41,4
DA:43,2
DA:45,3
DA:54,1
DA:56,3
DA:30,13
DA:32,9
DA:34,11
DA:42,4
DA:44,2
DA:46,3
DA:55,1
DA:57,3
DA:60,1
DA:62,17
DA:66,1
DA:68,9
DA:71,1
DA:58,3
DA:61,1
DA:63,17
DA:67,1
DA:69,9
DA:72,1
LF:23
LH:23
BRDA:29,0,0,9
BRDA:29,0,1,4
BRDA:41,1,0,2
BRDA:41,1,1,2
BRDA:62,2,0,17
BRDA:62,2,1,13
BRDA:30,0,0,9
BRDA:30,0,1,4
BRDA:42,1,0,2
BRDA:42,1,1,2
BRDA:63,2,0,17
BRDA:63,2,1,13
BRF:6
BRH:6
end_of_record
Expand Down

0 comments on commit 04dc96c

Please sign in to comment.