Travels: fix names after reduces
this patch set fix some issues with the travels javascript module -- especially the reduce
function in src/models/carbon/travels.js
:
-
travel.names
weren't merged correctly -
travel.amount
weren't increased correctly when dealing with already reduced travels - some initial tests for computing corrected distance
more details on the dedicated commits.
Edited by Matt