Make gulp release happy

This commit is contained in:
Gautier Pelloux-Prayer 2019-05-20 21:48:07 +02:00
parent 7017e28d83
commit 2a93efe455
2 changed files with 8 additions and 4 deletions

View file

@ -66,13 +66,13 @@ BR.Export = L.Class.extend({
trackname.value = null;
} else if (from === to) {
trackname.value = i18next.t('export.route-loop', {
from,
distance
from: from,
distance: distance
});
} else {
trackname.value = i18next.t(
'export.route-from-to',
{ from, to, distance }
{ from: from, to: to, distance: distance }
);
}
}, this)

View file

@ -132,7 +132,11 @@ L.BRouter = L.Class.extend({
if (urlParams.format != null)
args.push(L.Util.template('format={format}', urlParams));
if (trackname)
args.push(L.Util.template('trackname={trackname}', { trackname }));
args.push(
L.Util.template('trackname={trackname}', {
trackname: trackname
})
);
var prepend_host = format != null;