diff --git a/common/script/src/content/card-types.js b/common/script/src/content/card-types.js index e86672875b..dc767a70b0 100644 --- a/common/script/src/content/card-types.js +++ b/common/script/src/content/card-types.js @@ -19,4 +19,4 @@ let cardTypes = { } }; -module.exports = cardTypes; +export default cardTypes; diff --git a/common/script/src/content/eggs/drops.js b/common/script/src/content/eggs/drops.js index 69afe93ede..b49af6ba62 100644 --- a/common/script/src/content/eggs/drops.js +++ b/common/script/src/content/eggs/drops.js @@ -23,4 +23,4 @@ each(DROP_EGGS, (pet) => { } }); -module.exports = eggs; +export default eggs; diff --git a/common/script/src/content/eggs/index.js b/common/script/src/content/eggs/index.js index 4d9a3e66e2..b0fbc08458 100644 --- a/common/script/src/content/eggs/index.js +++ b/common/script/src/content/eggs/index.js @@ -18,6 +18,6 @@ each(dropEggs, (egg, key) => { }); }); -module.exports = { +export default { dropEggs: dropEggs } diff --git a/common/script/src/content/events.js b/common/script/src/content/events.js index 4cef45bb1f..6cf81cbb5e 100644 --- a/common/script/src/content/events.js +++ b/common/script/src/content/events.js @@ -14,4 +14,4 @@ let events = { summer2015: {start:'2015-06-20',end:'2015-08-02'} } -module.exports = events; +export default events; diff --git a/common/script/src/content/faq.js b/common/script/src/content/faq.js index 85c8c429ba..d91bfbaebe 100644 --- a/common/script/src/content/faq.js +++ b/common/script/src/content/faq.js @@ -21,4 +21,4 @@ faq.stillNeedHelp = { web: t('webFaqStillNeedHelp') }; -module.exports = faq; +export default faq; diff --git a/common/script/src/content/helpers/translator.js b/common/script/src/content/helpers/translator.js index 5263b530ea..3fffda4c74 100644 --- a/common/script/src/content/helpers/translator.js +++ b/common/script/src/content/helpers/translator.js @@ -1,7 +1,7 @@ 'use strict'; require('coffee-script'); -var i18n = require(__dirname + '/../../../../script/i18n.coffee'); +var i18n = require('../../../../script/i18n.coffee'); var t = function(string, vars) { var func = function(lang) { @@ -18,4 +18,4 @@ var t = function(string, vars) { return func; }; -module.exports = t; +export default t; diff --git a/common/script/src/content/mystery-sets.js b/common/script/src/content/mystery-sets.js index 8c9023694b..eb345c8ac4 100644 --- a/common/script/src/content/mystery-sets.js +++ b/common/script/src/content/mystery-sets.js @@ -116,4 +116,4 @@ each(mysterySets, (objectSet, name) => { objectSet.key = name; }); -module.exports = mysterySets; +export default mysterySets; diff --git a/common/script/src/content/spells/index.js b/common/script/src/content/spells/index.js index 005ef5f920..7230814b05 100644 --- a/common/script/src/content/spells/index.js +++ b/common/script/src/content/spells/index.js @@ -567,4 +567,4 @@ var spells = { } }; -module.exports = spells; +export default spells; diff --git a/common/script/src/content/time-traveler-stable.js b/common/script/src/content/time-traveler-stable.js index 2049bd2640..0d4c67efb6 100644 --- a/common/script/src/content/time-traveler-stable.js +++ b/common/script/src/content/time-traveler-stable.js @@ -11,4 +11,4 @@ let stable = { } }; -module.exports = stable; +export default stable;