fix __edgeMessages

This commit is contained in:
Kyle Spearrin 2017-11-04 23:46:15 -04:00
parent 4fb2d879ec
commit 38e235302c
1 changed files with 3 additions and 2 deletions

View File

@ -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) => {