Remove unused variable
parent
32e53e6aea
commit
fd81d3f217
|
|
@ -68,7 +68,7 @@
|
||||||
curPos++;
|
curPos++;
|
||||||
|
|
||||||
["L2", "L3", "L4", "L5", "L6", "L7", "L8", "L9"].forEach(line => {
|
["L2", "L3", "L4", "L5", "L6", "L7", "L8", "L9"].forEach(line => {
|
||||||
if (this[line]==='Date') drawDate(date, this.isoDate, curPos);
|
if (this[line]==='Date') drawDate(date, curPos);
|
||||||
else if (this[line]==='HR') drawHRM(curPos);
|
else if (this[line]==='HR') drawHRM(curPos);
|
||||||
else if (this[line]==='Motion') drawMotion(curPos);
|
else if (this[line]==='Motion') drawMotion(curPos);
|
||||||
else if (this[line]==='Alt') drawAltitude(curPos);
|
else if (this[line]==='Alt') drawAltitude(curPos);
|
||||||
|
|
@ -120,7 +120,7 @@
|
||||||
drawLine(time, pos);
|
drawLine(time, pos);
|
||||||
};
|
};
|
||||||
|
|
||||||
let drawDate = function(now, isoDate, pos) {
|
let drawDate = function(now, pos) {
|
||||||
let date;
|
let date;
|
||||||
if (clock.isoDate) {
|
if (clock.isoDate) {
|
||||||
let year = now.getFullYear();
|
let year = now.getFullYear();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue