mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-27 12:41:39 +01:00
Rename Platform.js to Platform.ts
This commit is contained in:
parent
cf76e9c605
commit
fe6090183f
@ -16,7 +16,7 @@ limitations under the License.
|
||||
|
||||
import aesjs from "../../../lib/aes-js/index.js";
|
||||
import {hkdf} from "../../utils/crypto/hkdf.js";
|
||||
import {Platform as ModernPlatform} from "./Platform.js";
|
||||
import {Platform as ModernPlatform} from "./Platform";
|
||||
|
||||
export function Platform(container, paths) {
|
||||
return new ModernPlatform(container, paths, {aesjs, hkdf});
|
||||
|
@ -22,7 +22,7 @@
|
||||
</script>
|
||||
<script id="main" type="module">
|
||||
import {main} from "./src/main.js";
|
||||
import {Platform} from "./src/platform/web/Platform.js";
|
||||
import {Platform} from "./src/platform/web/Platform";
|
||||
main(new Platform(document.body, {
|
||||
worker: "src/worker.js",
|
||||
downloadSandbox: "assets/download-sandbox.html",
|
||||
|
Loading…
x
Reference in New Issue
Block a user