1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2026-01-03 23:22:30 +03:00

fix build error

browser-index isn't transpiled, so can't use var there.
This commit is contained in:
Richard van der Hoff
2017-06-22 15:16:23 +01:00
parent 4e7f9fb805
commit 967341b127

View File

@@ -3,7 +3,7 @@ matrixcs.request(require("browser-request"));
// just *accessing* indexedDB throws an exception in firefox with
// indexeddb disabled.
let indexedDB;
var indexedDB;
try {
indexedDB = global.indexedDB;
} catch(e) {}