diff --git a/examples/crypto-browser/lib/.gitignore b/examples/crypto-browser/lib/.gitignore new file mode 100644 index 000000000..dd5fde76b --- /dev/null +++ b/examples/crypto-browser/lib/.gitignore @@ -0,0 +1,2 @@ +olm.js +olm.wasm \ No newline at end of file diff --git a/examples/crypto-browser/lib/matrix.js b/examples/crypto-browser/lib/matrix.js new file mode 120000 index 000000000..518d47ddb --- /dev/null +++ b/examples/crypto-browser/lib/matrix.js @@ -0,0 +1 @@ +../../../dist/browser-matrix.js \ No newline at end of file diff --git a/examples/crypto-browser/olm-device-export-import.html b/examples/crypto-browser/olm-device-export-import.html new file mode 100644 index 000000000..7f4b356b1 --- /dev/null +++ b/examples/crypto-browser/olm-device-export-import.html @@ -0,0 +1,59 @@ + + + + + + + Test Crypto in Browser + + + + +

Testing export/import of Olm devices in the browser

+ + + + + \ No newline at end of file diff --git a/examples/olm-device-export-import.html b/examples/crypto-browser/olm-device-export-import.js similarity index 62% rename from examples/olm-device-export-import.html rename to examples/crypto-browser/olm-device-export-import.js index fc319d1db..0529b73fd 100644 --- a/examples/olm-device-export-import.html +++ b/examples/crypto-browser/olm-device-export-import.js @@ -1,63 +1,3 @@ - - - - - - - Test Crypto in Browser - - - - -

Testing export/import of Olm devices in the browser

-

- Inspired by examples/browser -

- - - - - \ No newline at end of file +} \ No newline at end of file