gtfs-to-html 2.9.3 → 2.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/index.js +5 -2
- package/dist/app/index.js.map +1 -1
- package/dist/bin/gtfs-to-html.js +62 -41
- package/dist/bin/gtfs-to-html.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +62 -41
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/views/default/css/timetable_styles.css +155 -1
- package/views/default/formatting_functions.pug +13 -12
- package/views/default/js/timetable-alerts.js +180 -0
- package/views/default/js/timetable-map.js +10 -5
- package/views/default/timetablepage.pug +9 -2
- package/views/default/timetablepage_full.pug +7 -6
- package/views/default/css/timetable_pdf_styles.css +0 -69
package/dist/app/index.js
CHANGED
|
@@ -376,7 +376,7 @@ function getAgencyGeoJSON(config2) {
|
|
|
376
376
|
}
|
|
377
377
|
|
|
378
378
|
// package.json
|
|
379
|
-
var version = "2.9.
|
|
379
|
+
var version = "2.9.3";
|
|
380
380
|
|
|
381
381
|
// src/lib/utils.ts
|
|
382
382
|
var isTimepoint = (stoptime) => {
|
|
@@ -1355,7 +1355,10 @@ function setDefaultConfig(initialConfig) {
|
|
|
1355
1355
|
config2.menuType = "none";
|
|
1356
1356
|
}
|
|
1357
1357
|
config2.hasGtfsRealtime = config2.agencies.some(
|
|
1358
|
-
(agency) => agency.realtimeTripUpdates?.url || agency.realtimeVehiclePositions?.url
|
|
1358
|
+
(agency) => agency.realtimeTripUpdates?.url || agency.realtimeVehiclePositions?.url || agency.realtimeAlerts?.url
|
|
1359
|
+
);
|
|
1360
|
+
config2.hasGtfsRealtimeAlerts = config2.agencies.some(
|
|
1361
|
+
(agency) => agency.realtimeAlerts?.url
|
|
1359
1362
|
);
|
|
1360
1363
|
return config2;
|
|
1361
1364
|
}
|