Add missing semicolon

This commit is contained in:
Patrick Niklaus 2016-06-01 23:37:21 +02:00 committed by Daniel J. Hofmann
parent e8fb312703
commit ed8d5e0b0a

View File

@ -166,7 +166,7 @@ module.exports = function () {
this.OSMIDList = (instructions) => { this.OSMIDList = (instructions) => {
// OSM node IDs also come from the annotation list // OSM node IDs also come from the annotation list
return instructions.legs.map(l => l.annotation.nodes.map(n => n.toString()).join(',')).join(','); return instructions.legs.map(l => l.annotation.nodes.map(n => n.toString()).join(',')).join(',');
} };
this.turnList = (instructions) => { this.turnList = (instructions) => {
return instructions.legs.reduce((m, v) => m.concat(v.steps), []) return instructions.legs.reduce((m, v) => m.concat(v.steps), [])