1 | ;
|
2 |
|
3 | var _global = require("sharyn/util/global");
|
4 |
|
5 | var _ = require(".");
|
6 |
|
7 | /* eslint-disable no-undef */
|
8 | if (!TRANSLATIONS) {
|
9 | throw Error('You need to set the global variable TRANSLATIONS via Webpack');
|
10 | }
|
11 |
|
12 | (0, _global.setGlobal)('translations', TRANSLATIONS);
|
13 | (0, _global.setGlobal)('language', (0, _.getLanguage)()); |
\ | No newline at end of file |