Skip to content

Commit 71bc7e2

Browse files
authored
Update comment positioning
1 parent 7fef7b1 commit 71bc7e2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

app/components/download-graph.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ export default Ember.Component.extend({
4747
// the line altogether.
4848
if (!on[k] && value === 0) {
4949
data[i][k + 1] = null;
50-
50+
}
5151
// If we are off and the value is not zero, we
5252
// need to turn back on. (keep the value the same though)
53-
} else if (!on[k] && value !== 0) {
53+
else if (!on[k] && value !== 0) {
5454
on[k] = true;
5555

5656
// We previously wrote a null into data[i - 1][k + 1],
@@ -59,9 +59,10 @@ export default Ember.Component.extend({
5959
if (i > 1) {
6060
data[i - 1][k + 1] = 0;
6161
}
62+
}
6263
// If we are on and the value is zero, turn off
6364
// but keep the zero in the array
64-
} else if (on[k] && value === 0) {
65+
else if (on[k] && value === 0) {
6566
on[k] = false;
6667
}
6768
}

0 commit comments

Comments
 (0)