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; trackname.value = null;
} else if (from === to) { } else if (from === to) {
trackname.value = i18next.t('export.route-loop', { trackname.value = i18next.t('export.route-loop', {
from, from: from,
distance distance: distance
}); });
} else { } else {
trackname.value = i18next.t( trackname.value = i18next.t(
'export.route-from-to', 'export.route-from-to',
{ from, to, distance } { from: from, to: to, distance: distance }
); );
} }
}, this) }, this)

View file

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