mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
move olm into own lib directory
This commit is contained in:
parent
cfd2fd9862
commit
6edbec45eb
@ -1 +0,0 @@
|
|||||||
../node_modules/olm/olm.js
|
|
@ -1 +0,0 @@
|
|||||||
../node_modules/olm/olm.wasm
|
|
1
lib/olm/olm.js
Symbolic link
1
lib/olm/olm.js
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../node_modules/olm/olm.js
|
1
lib/olm/olm.wasm
Symbolic link
1
lib/olm/olm.wasm
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../node_modules/olm/olm.wasm
|
1
lib/olm/olm_legacy.js
Symbolic link
1
lib/olm/olm_legacy.js
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../node_modules/olm/olm_legacy.js
|
@ -12,13 +12,13 @@
|
|||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<script type="text/javascript" src="../lib/olm.js"></script>
|
<script type="text/javascript" src="../lib/olm/olm.js"></script>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
const Olm = window.Olm;
|
const Olm = window.Olm;
|
||||||
await Olm.init({
|
await Olm.init({
|
||||||
locateFile: () => "../lib/olm.wasm",
|
locateFile: () => "../lib/olm/olm.wasm",
|
||||||
});
|
});
|
||||||
const alice = new Olm.Account();
|
const alice = new Olm.Account();
|
||||||
alice.create();
|
alice.create();
|
||||||
|
Loading…
Reference in New Issue
Block a user