mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Es2015ify the js content
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
'use strict';
|
||||
let t = require('./helpers/translator.js');
|
||||
|
||||
var t = require('./helpers/translator.js');
|
||||
const NUMBER_OF_QUESTIONS = 12;
|
||||
|
||||
var NUMBER_OF_QUESTIONS = 12;
|
||||
|
||||
var faq = {};
|
||||
let faq = {};
|
||||
|
||||
faq.questions = [];
|
||||
|
||||
for (var i = 0; i < NUMBER_OF_QUESTIONS; i++) {
|
||||
var question = {
|
||||
let question = {
|
||||
question: t('faqQuestion' + i),
|
||||
ios: t('iosFaqAnswer' + i),
|
||||
web: t('webFaqAnswer' + i)
|
||||
|
||||
Reference in New Issue
Block a user