From 7986576b0ebe2567b494256c9cf6e88b6c9d6338 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 19 Jul 2020 19:54:17 +0100 Subject: [PATCH] Fix eslint warnings --- .../javascripts/index/directions/graphhopper.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/assets/javascripts/index/directions/graphhopper.js b/app/assets/javascripts/index/directions/graphhopper.js index 2462d1d30..829eb54a0 100644 --- a/app/assets/javascripts/index/directions/graphhopper.js +++ b/app/assets/javascripts/index/directions/graphhopper.js @@ -23,13 +23,13 @@ function GraphHopperEngine(id, vehicleType) { return $.ajax({ url: OSM.GRAPHHOPPER_URL, data: { - "vehicle": vehicleType, - "locale": I18n.currentLocale(), - "key": "LijBPDQGfu7Iiq80w3HzwB4RUDJbMbhs6BU0dEnn", - "elevation": false, - "instructions": true, - "turn_costs": true, - "point": points.map(function (p) { return p.lat + "," + p.lng; }) + vehicle: vehicleType, + locale: I18n.currentLocale(), + key: "LijBPDQGfu7Iiq80w3HzwB4RUDJbMbhs6BU0dEnn", + elevation: false, + instructions: true, + turn_costs: true, + point: points.map(function (p) { return p.lat + "," + p.lng; }) }, traditional: true, dataType: "json", -- 2.39.5