add comment
This commit is contained in:
parent
ec20e1ece2
commit
2b5e028cbe
|
@ -162,6 +162,8 @@ function onTokenLoginCompleted() {
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function loadApp() {
|
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;
|
const vectorIndexeddbWorkerScript = document.body.dataset.vectorIndexeddbWorkerScript;
|
||||||
if (!vectorIndexeddbWorkerScript) {
|
if (!vectorIndexeddbWorkerScript) {
|
||||||
// If this is missing, something has probably gone wrong with
|
// If this is missing, something has probably gone wrong with
|
||||||
|
|
Loading…
Reference in New Issue