Enable some more eslint rules from iD rules

This commit is contained in:
Tom Hughes 2019-04-06 15:48:51 +01:00
parent 07aa5ade67
commit 87127d41e9
8 changed files with 48 additions and 18 deletions

View file

@ -99,7 +99,7 @@ function FOSSGISEngine(id, vehicleType) {
var template = INSTRUCTION_TEMPLATE[maneuver_id];
// convert lat,lng pairs to LatLng objects
var step_geometry = L.PolylineUtil.decode(step.geometry, { precision: 5 }).map(function(a) { return L.latLng(a); }) ;
var step_geometry = L.PolylineUtil.decode(step.geometry, { precision: 5 }).map(function(a) { return L.latLng(a); });
// append step_geometry on line
Array.prototype.push.apply(line, step_geometry);