You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-01 04:43:29 +03:00
Name IndexedDBStoreWorker consistently
This commit is contained in:
@@ -61,8 +61,8 @@ module.exports.Filter = require("./filter");
|
|||||||
module.exports.TimelineWindow = require("./timeline-window").TimelineWindow;
|
module.exports.TimelineWindow = require("./timeline-window").TimelineWindow;
|
||||||
/** The {@link module:interactive-auth} class. */
|
/** The {@link module:interactive-auth} class. */
|
||||||
module.exports.InteractiveAuth = require("./interactive-auth");
|
module.exports.InteractiveAuth = require("./interactive-auth");
|
||||||
/** The {@link module:indexeddb-remote-worker} class. */
|
/** The {@link module:indexeddb-store-worker~IndexedDBStoreWorker} class. */
|
||||||
module.exports.IndexedDbStoreWorker = require("./store/indexeddb-remote-worker.js");
|
module.exports.IndexedDBStoreWorker = require("./store/indexeddb-store-worker.js");
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -18,10 +18,10 @@ import q from "q";
|
|||||||
import LocalIndexedDBStoreBackend from "./indexeddb-local-backend.js";
|
import LocalIndexedDBStoreBackend from "./indexeddb-local-backend.js";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class lives in the webworker and drives a LocalIndexedDbStoreBackend
|
* This class lives in the webworker and drives a LocalIndexedDBStoreBackend
|
||||||
* controlled by messages from the main process.
|
* controlled by messages from the main process.
|
||||||
*/
|
*/
|
||||||
class IndexedDbStoreWorker {
|
class IndexedDBStoreWorker {
|
||||||
constructor(postMessage) {
|
constructor(postMessage) {
|
||||||
this.backend = null;
|
this.backend = null;
|
||||||
this.postMessage = postMessage;
|
this.postMessage = postMessage;
|
||||||
@@ -101,4 +101,4 @@ class IndexedDbStoreWorker {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = IndexedDbStoreWorker;
|
module.exports = IndexedDBStoreWorker;
|
||||||
Reference in New Issue
Block a user