fix __edgeMessages
This commit is contained in:
parent
4fb2d879ec
commit
38e235302c
|
@ -1,7 +1,8 @@
|
||||||
export default function i18nService(utilsService) {
|
export default function i18nService(utilsService) {
|
||||||
|
this.__edgeMessages = {};
|
||||||
|
const self = this;
|
||||||
|
|
||||||
if (utilsService.isEdge()) {
|
if (utilsService.isEdge()) {
|
||||||
this.__edgeMessages = {};
|
|
||||||
const self = this;
|
|
||||||
fetch('../_locales/en/messages.json').then((file) => {
|
fetch('../_locales/en/messages.json').then((file) => {
|
||||||
return file.json();
|
return file.json();
|
||||||
}).then((locales) => {
|
}).then((locales) => {
|
||||||
|
|
Loading…
Reference in New Issue