From 155cd6c626fc189036af7c8bf835eeadea40c520 Mon Sep 17 00:00:00 2001 From: Blade Barringer Date: Tue, 8 Mar 2016 11:58:43 -0600 Subject: [PATCH] fix: Correct how faq module is exported --- common/script/content/faq.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/common/script/content/faq.js b/common/script/content/faq.js index bacad9c119..511e60a434 100644 --- a/common/script/content/faq.js +++ b/common/script/content/faq.js @@ -2,7 +2,13 @@ import t from './translation'; const NUMBER_OF_QUESTIONS = 12; -export const questions = []; +let faq = { + questions: [], + stillNeedHelp: { + ios: t('iosFaqStillNeedHelp'), + web: t('webFaqStillNeedHelp'), + }, +}; for (let i = 0; i <= NUMBER_OF_QUESTIONS; i++) { let question = { @@ -11,10 +17,7 @@ for (let i = 0; i <= NUMBER_OF_QUESTIONS; i++) { web: t(`webFaqAnswer${i}`), }; - questions.push(question); + faq.questions.push(question); } -export const stillNeedHelp = { - ios: t('iosFaqStillNeedHelp'), - web: t('webFaqStillNeedHelp'), -}; +module.exports = faq;