Es2015ify the js content

This commit is contained in:
Blade Barringer
2015-09-17 08:03:33 -05:00
parent eaaac546b9
commit d20354dd47
5 changed files with 13 additions and 19 deletions

View File

@@ -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)