From 79ded39582bf08f93d5ad3ff28bef4933dd7d65e Mon Sep 17 00:00:00 2001 From: Christoph Reiter <reiter.christoph@gmail.com> Date: Thu, 1 Jul 2021 17:02:24 +0200 Subject: [PATCH] typos --- packages/common/jsonld.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/common/jsonld.js b/packages/common/jsonld.js index 95cd28d7..6ce7750d 100644 --- a/packages/common/jsonld.js +++ b/packages/common/jsonld.js @@ -70,7 +70,7 @@ export default class JSONLD { static _doInitialization(apiUrl) { const xhr = new XMLHttpRequest(); - const i18n = JSON._i18n; + const i18n = JSONLD._i18n; xhr.open("GET", apiUrl, true); xhr.onreadystatechange = function () { @@ -169,7 +169,7 @@ export default class JSONLD { * @param message */ static _executeFailureFunctions(apiUrl, message = "") { - const i18n = JSON._i18n; + const i18n = JSONLD._i18n; if (JSONLD.failureFunctions[apiUrl] !== undefined) { for (const fnc of JSONLD.failureFunctions[apiUrl]) { if (typeof fnc == 'function') { -- GitLab