Small linting
parent
d3abc37cb0
commit
2aa973a692
6
app.js
6
app.js
|
@ -97,10 +97,10 @@ app.set('view engine', 'hbs');
|
||||||
handlebars = handlebars.create({
|
handlebars = handlebars.create({
|
||||||
helpers: {
|
helpers: {
|
||||||
// Language helper
|
// Language helper
|
||||||
__: () => { return i18n.__(this, arguments); },
|
__: () => { return i18n.__(this, arguments); }, // eslint-disable-line no-undef
|
||||||
__n: () => { return i18n.__n(this, arguments); },
|
__n: () => { return i18n.__n(this, arguments); }, // eslint-disable-line no-undef
|
||||||
availableLanguages: (block) => {
|
availableLanguages: (block) => {
|
||||||
let total = ''
|
let total = '';
|
||||||
for(const lang of i18n.getLocales()){
|
for(const lang of i18n.getLocales()){
|
||||||
total += block.fn(lang);
|
total += block.fn(lang);
|
||||||
}
|
}
|
||||||
|
|
|
@ -6519,14 +6519,6 @@
|
||||||
"resolved": "https://registry.npmjs.org/moment/-/moment-2.24.0.tgz",
|
"resolved": "https://registry.npmjs.org/moment/-/moment-2.24.0.tgz",
|
||||||
"integrity": "sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg=="
|
"integrity": "sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg=="
|
||||||
},
|
},
|
||||||
"moment-recur": {
|
|
||||||
"version": "1.0.7",
|
|
||||||
"resolved": "https://registry.npmjs.org/moment-recur/-/moment-recur-1.0.7.tgz",
|
|
||||||
"integrity": "sha1-TVCSr2SK7e1q/lwT7zjFKQHJlBk=",
|
|
||||||
"requires": {
|
|
||||||
"moment": "<3.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mongodb": {
|
"mongodb": {
|
||||||
"version": "3.3.3",
|
"version": "3.3.3",
|
||||||
"resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.3.3.tgz",
|
"resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.3.3.tgz",
|
||||||
|
|
Loading…
Reference in New Issue