You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
Add separate import file for indxexeddb worker
And removing it from the main one
This commit is contained in:
24
src/indexeddb-worker.js
Normal file
24
src/indexeddb-worker.js
Normal file
@@ -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");
|
||||||
|
|
||||||
@@ -61,8 +61,6 @@ 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-store-worker~IndexedDBStoreWorker} class. */
|
|
||||||
module.exports.IndexedDBStoreWorker = require("./store/indexeddb-store-worker.js");
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user