From 6aa5d39357c114490076dba00482e16abe03e5ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Van=20Rompay?= Date: Mon, 27 Jan 2020 14:28:50 +0100 Subject: [PATCH] move new example to own directory --- examples/crypto-browser/lib/.gitignore | 2 + examples/crypto-browser/lib/matrix.js | 1 + .../olm-device-export-import.html | 59 +++++++++++++++++ .../olm-device-export-import.js} | 65 +------------------ 4 files changed, 63 insertions(+), 64 deletions(-) create mode 100644 examples/crypto-browser/lib/.gitignore create mode 120000 examples/crypto-browser/lib/matrix.js create mode 100644 examples/crypto-browser/olm-device-export-import.html rename examples/{olm-device-export-import.html => crypto-browser/olm-device-export-import.js} (62%) 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