Skip to content
Snippets Groups Projects
Commit 79ded395 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

typos

parent 2df32d7c
No related branches found
No related tags found
1 merge request!67Create a new i18next instance for every web component
...@@ -70,7 +70,7 @@ export default class JSONLD { ...@@ -70,7 +70,7 @@ export default class JSONLD {
static _doInitialization(apiUrl) { static _doInitialization(apiUrl) {
const xhr = new XMLHttpRequest(); const xhr = new XMLHttpRequest();
const i18n = JSON._i18n; const i18n = JSONLD._i18n;
xhr.open("GET", apiUrl, true); xhr.open("GET", apiUrl, true);
xhr.onreadystatechange = function () { xhr.onreadystatechange = function () {
...@@ -169,7 +169,7 @@ export default class JSONLD { ...@@ -169,7 +169,7 @@ export default class JSONLD {
* @param message * @param message
*/ */
static _executeFailureFunctions(apiUrl, message = "") { static _executeFailureFunctions(apiUrl, message = "") {
const i18n = JSON._i18n; const i18n = JSONLD._i18n;
if (JSONLD.failureFunctions[apiUrl] !== undefined) { if (JSONLD.failureFunctions[apiUrl] !== undefined) {
for (const fnc of JSONLD.failureFunctions[apiUrl]) { for (const fnc of JSONLD.failureFunctions[apiUrl]) {
if (typeof fnc == 'function') { if (typeof fnc == 'function') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment