Skip to content

Commit 4201c1c

Browse files
mmm yummy reformatting
1 parent 0279bc9 commit 4201c1c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

evergreen.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1290,7 +1290,7 @@ function initweatherchart() {
12901290
type: 'line', data: {
12911291
datasets: [{
12921292
parsing: false,
1293-
data: hourly["temperature"].map(({x,y})=> ({x:x, y:tunit(y)})), // data: [...Array.from({length: 100}, (x, i) => i).map(val => {
1293+
data: hourly["temperature"].map(({x, y}) => ({x: x, y: tunit(y)})), // data: [...Array.from({length: 100}, (x, i) => i).map(val => {
12941294
// return {x: val * 1000 * 60 * 60 * 24, y: tunit(val)}
12951295
// }), {x: 1000 * 60 * 60 * 24 * 10000, y: tunit(100)}],
12961296
label: "Temperature",
@@ -1329,7 +1329,7 @@ function initweatherchart() {
13291329
// borderDash: [5, 15],
13301330
}, {
13311331
parsing: false,
1332-
data: hourly["apparent_temperature"].map(({x,y})=> ({x:x, y:tunit(y)})),
1332+
data: hourly["apparent_temperature"].map(({x, y}) => ({x: x, y: tunit(y)})),
13331333
label: "Feels Like",
13341334
borderColor: gen_hourly_chart_gradient,
13351335
backgroundColor: gen_hourly_chart_gradient,
@@ -1516,7 +1516,7 @@ function initweatherchart() {
15161516
type: 'line', data: {
15171517
datasets: [{
15181518
parsing: false,
1519-
data: daily["high"].map(({x,y})=> ({x:x, y:tunit(y)})),
1519+
data: daily["high"].map(({x, y}) => ({x: x, y: tunit(y)})),
15201520
label: "High",
15211521
backgroundColor: CHART_COLORS.red,
15221522
pointBorderColor: CHART_COLORS.red,
@@ -1536,7 +1536,7 @@ function initweatherchart() {
15361536
}
15371537
}, {
15381538
parsing: false,
1539-
data: daily["apparent_high"].map(({x,y})=> ({x:x, y:tunit(y)})),
1539+
data: daily["apparent_high"].map(({x, y}) => ({x: x, y: tunit(y)})),
15401540
label: "Apparent High",
15411541
backgroundColor: CHART_COLORS.red,
15421542
pointBorderColor: CHART_COLORS.red,
@@ -1557,7 +1557,7 @@ function initweatherchart() {
15571557
}
15581558
}, {
15591559
parsing: false,
1560-
data: daily["low"].map(({x,y})=> ({x:x, y:tunit(y)})),
1560+
data: daily["low"].map(({x, y}) => ({x: x, y: tunit(y)})),
15611561
label: "Low",
15621562
backgroundColor: CHART_COLORS.blue,
15631563
pointBorderColor: CHART_COLORS.blue,
@@ -1577,7 +1577,7 @@ function initweatherchart() {
15771577
}
15781578
}, {
15791579
parsing: false,
1580-
data: daily["apparent_low"].map(({x,y})=> ({x:x, y:tunit(y)})),
1580+
data: daily["apparent_low"].map(({x, y}) => ({x: x, y: tunit(y)})),
15811581
label: "Apparent Low",
15821582
backgroundColor: CHART_COLORS.blue,
15831583
pointBorderColor: CHART_COLORS.blue,

0 commit comments

Comments
 (0)