aboutsummaryrefslogtreecommitdiffstats
path: root/spec/javascript/journey_patterns/components
diff options
context:
space:
mode:
authorTeddy Wing2018-03-12 12:28:19 +0100
committerLuc Donnet2018-03-23 17:16:43 +0100
commit8361cf53afc52da76377a00c90854ae95eeaed03 (patch)
tree6df27cf18b20eef191b5574707566fd004214b5b /spec/javascript/journey_patterns/components
parentf1594a97c37509eb218a0336ae6d0ddaef9ddd71 (diff)
downloadchouette-core-8361cf53afc52da76377a00c90854ae95eeaed03.tar.bz2
TomTom#batch: Populate WayCosts with distance & time from API
Look through the API response from `/batch` and extract the distance & time values given to us by TomTom. These are inserted in the `WayCost`s given to use in the argument to `#batch`. At the end, we get a list of `WayCost`s that are completely filled with distance & time values. We need to split up this code a bit to make it more testable, but already this seems to function correctly. Refs #6095
Diffstat (limited to 'spec/javascript/journey_patterns/components')
0 files changed, 0 insertions, 0 deletions