From 38e235302c23e5a3440eea06b0475011d1b9c998 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 4 Nov 2017 23:46:15 -0400 Subject: [PATCH] fix __edgeMessages --- src/services/i18nService.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/services/i18nService.js b/src/services/i18nService.js index 3079c6e1..a4fb2974 100644 --- a/src/services/i18nService.js +++ b/src/services/i18nService.js @@ -1,7 +1,8 @@ export default function i18nService(utilsService) { + this.__edgeMessages = {}; + const self = this; + if (utilsService.isEdge()) { - this.__edgeMessages = {}; - const self = this; fetch('../_locales/en/messages.json').then((file) => { return file.json(); }).then((locales) => {