diff --git a/src/indexeddb-worker.js b/src/indexeddb-worker.js new file mode 100644 index 000000000..aa6312e2f --- /dev/null +++ b/src/indexeddb-worker.js @@ -0,0 +1,24 @@ +/* +Copyright 2017 Vector Creations Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +/** + * Separate exports file for the indexeddb web worker, which is designed + * to be used separately + */ + +/** The {@link module:indexeddb-store-worker~IndexedDBStoreWorker} class. */ +module.exports.IndexedDBStoreWorker = require("./store/indexeddb-store-worker.js"); + diff --git a/src/matrix.js b/src/matrix.js index f81fa9918..ea885b932 100644 --- a/src/matrix.js +++ b/src/matrix.js @@ -61,8 +61,6 @@ module.exports.Filter = require("./filter"); module.exports.TimelineWindow = require("./timeline-window").TimelineWindow; /** The {@link module:interactive-auth} class. */ module.exports.InteractiveAuth = require("./interactive-auth"); -/** The {@link module:indexeddb-store-worker~IndexedDBStoreWorker} class. */ -module.exports.IndexedDBStoreWorker = require("./store/indexeddb-store-worker.js"); /**