chore: upgrade babel to v6

This commit is contained in:
Blade Barringer
2016-03-02 21:36:27 -06:00
parent 56e53cc95f
commit 0406142e0e
49 changed files with 94 additions and 90 deletions

View File

@@ -1,10 +1,8 @@
let t = require('./translation.js');
import t from './translation';
let NUMBER_OF_QUESTIONS = 12;
const NUMBER_OF_QUESTIONS = 12;
let faq = {};
faq.questions = [];
export const questions = [];
for (let i = 0; i <= NUMBER_OF_QUESTIONS; i++) {
let question = {
@@ -13,12 +11,10 @@ for (let i = 0; i <= NUMBER_OF_QUESTIONS; i++) {
web: t(`webFaqAnswer${i}`),
};
faq.questions.push(question);
questions.push(question);
}
faq.stillNeedHelp = {
export const stillNeedHelp = {
ios: t('iosFaqStillNeedHelp'),
web: t('webFaqStillNeedHelp'),
};
module.exports = faq;