UNPKG

328 BJavaScriptView Raw
1"use strict";
2
3var _global = require("sharyn/util/global");
4
5var _ = require(".");
6
7/* eslint-disable no-undef */
8if (!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