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) {
|
||||||
if (utilsService.isEdge()) {
|
|
||||||
this.__edgeMessages = {};
|
this.__edgeMessages = {};
|
||||||
const self = this;
|
const self = this;
|
||||||
|
|
||||||
|
if (utilsService.isEdge()) {
|
||||||
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