1
0
Fork 0

Add missing semicolons (fix warnings in IDE)

master
Travis Evans 2023-08-22 16:38:06 -05:00
parent 822ca78504
commit e7ad809732
1 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ function movementPerHour() {
var data = new Uint16Array(24);
var cnt = new Uint8Array(24);
require("health").readDay(new Date(), h=>{
data[h.hr]+=h.movement
data[h.hr]+=h.movement;
cnt[h.hr]++;
});
data.forEach((d,i)=>data[i] = d/cnt[i]);
@ -103,7 +103,7 @@ function movementPerDay() {
var data = new Uint16Array(31);
var cnt = new Uint8Array(31);
require("health").readDailySummaries(new Date(), h=>{
data[h.day]+=h.movement
data[h.day]+=h.movement;
cnt[h.day]++;
});
data.forEach((d,i)=>data[i] = d/cnt[i]);