mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +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>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" src="../lib/olm.js"></script>
|
||||
<script type="text/javascript" src="../lib/olm/olm.js"></script>
|
||||
<script type="module">
|
||||
|
||||
async function main() {
|
||||
const Olm = window.Olm;
|
||||
await Olm.init({
|
||||
locateFile: () => "../lib/olm.wasm",
|
||||
locateFile: () => "../lib/olm/olm.wasm",
|
||||
});
|
||||
const alice = new Olm.Account();
|
||||
alice.create();
|
||||
|
Loading…
Reference in New Issue
Block a user