From e8f4452d4916fff684d5700ea4308f19d3c4029c Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Fri, 21 Feb 2020 11:09:59 -0500 Subject: [PATCH] Don't bundle the en.json strings anymore, Promisify locale loading (re: #4994) --- data/index.js | 1 - docs/statistics.html | 2 +- modules/core/context.js | 139 +++++++++++++++++++++------------------- modules/ui/init.js | 47 ++++++++++---- modules/util/locale.js | 39 ++++++----- 5 files changed, 128 insertions(+), 100 deletions(-) diff --git a/data/index.js b/data/index.js index a94be0cfa..03c73d59b 100644 --- a/data/index.js +++ b/data/index.js @@ -1,2 +1 @@ export { dataLocales } from './locales.json'; -export { en as dataEn } from '../dist/locales/en.json'; diff --git a/docs/statistics.html b/docs/statistics.html index 80bededbf..cf5fe38bb 100644 --- a/docs/statistics.html +++ b/docs/statistics.html @@ -3346,7 +3346,7 @@ main {