Commit graph

4 commits

Author SHA1 Message Date
Jannis R
d2257c26ff
rename d.remarks -> d.hints, parseRemark -> parseHint
HAFAS returns notes for journey legs, stopovers and departures.

There are two kinds of notes: "remarks" (in `remL`) and HAFAS
Information Manager (HIM) notes (in `himL`). The former describe
the regular operating situation, e.g. "bicycles allows", whereas
the latter describe cancellations, construction work, etc.

The planned naming scheme for hafas-client:
- hints: notes from `remL` for regular operation
- warnings: notes from `himL` for cancellations, construction, etc
- remarks: both "notes" and "warnings"

This commit prepares the new naming scheme by renaming the
existing parsing logic of `remL` to "hints". Follow-up commits
will add `parseWarning`.
2018-06-07 16:34:50 +02:00
Jannis R
8985f8ccd2
rename journey.parts -> journey.legs 2017-12-28 17:13:02 +01:00
Jannis R
33417a6e61
query journey parts 2017-11-20 16:58:45 +01:00
Jannis R
79db55d99c
split parse.js 2017-11-11 22:45:17 +01:00