From 2b5e028cbebe155e35cb5a2f42af6947d60ba647 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 5 Feb 2020 16:37:19 +0000 Subject: [PATCH] add comment --- src/vector/app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vector/app.js b/src/vector/app.js index 00699dc5..8ade17d8 100644 --- a/src/vector/app.js +++ b/src/vector/app.js @@ -162,6 +162,8 @@ function onTokenLoginCompleted() { } export async function loadApp() { + // XXX: the way we pass the path to the worker script from webpack via html in body's dataset is a hack + // but alternatives seem to require changing the interface to passing Workers to js-sdk const vectorIndexeddbWorkerScript = document.body.dataset.vectorIndexeddbWorkerScript; if (!vectorIndexeddbWorkerScript) { // If this is missing, something has probably gone wrong with