Updated tripRoutes.js weather forecast collection comments
rodzic
1616682e1b
commit
58413965f2
|
@ -100,6 +100,8 @@ function round(value, precision) {
|
||||||
return Math.round(value * multiplier) / multiplier;
|
return Math.round(value * multiplier) / multiplier;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// You can either tie into an existing Weather Forecast API
|
||||||
|
// or provide hard-coded lookups like the following.
|
||||||
var forecasts = {
|
var forecasts = {
|
||||||
"ORD_2020-02-06": {
|
"ORD_2020-02-06": {
|
||||||
description: "Snow",
|
description: "Snow",
|
||||||
|
|
Ładowanie…
Reference in New Issue