From 53cc90afe5f628fc3f744cdc58c74e3e9901920f Mon Sep 17 00:00:00 2001
From: Yarmo Mackenbach <yarmo@yarmo.eu>
Date: Mon, 19 Apr 2021 11:45:39 +0200
Subject: [PATCH] Remove html demo

---
 demo/index.html | 91 -------------------------------------------------
 1 file changed, 91 deletions(-)
 delete mode 100644 demo/index.html

diff --git a/demo/index.html b/demo/index.html
deleted file mode 100644
index d3cb41d..0000000
--- a/demo/index.html
+++ /dev/null
@@ -1,91 +0,0 @@
-<!DOCTYPE html>
-<html lang="en" dir="ltr">
-  <head>
-    <meta charset="utf-8" />
-    <title>doip.js browser demo</title>
-  </head>
-  <body>
-    <h1>doip.js browser demo</h1>
-
-    <div id="claims">
-      <div>
-        <h2 class="claim_input">dns:domain.org</h2>
-        <pre class="claim_output"></pre>
-      </div>
-      <div>
-        <h2 class="claim_input">xmpp:alice@domain.org</h2>
-        <pre class="claim_output"></pre>
-      </div>
-      <div>
-        <h2 class="claim_input">
-          https://twitter.com/alice/status/1234567890123456789
-        </h2>
-        <pre class="claim_output"></pre>
-      </div>
-      <div>
-        <h2 class="claim_input">
-          https://www.reddit.com/user/Alice/comments/123456/post
-        </h2>
-        <pre class="claim_output"></pre>
-      </div>
-      <div>
-        <h2 class="claim_input">https://news.ycombinator.com/user?id=Alice</h2>
-        <pre class="claim_output"></pre>
-      </div>
-      <div>
-        <h2 class="claim_input">https://lobste.rs/u/Alice</h2>
-        <pre class="claim_output"></pre>
-      </div>
-      <div>
-        <h2 class="claim_input">https://dev.to/alice/post</h2>
-        <pre class="claim_output"></pre>
-      </div>
-      <div>
-        <h2 class="claim_input">https://domain.org/alice/gitea_proof</h2>
-        <pre class="claim_output"></pre>
-      </div>
-      <div>
-        <h2 class="claim_input">https://domain.org/alice/gitlab_proof</h2>
-        <pre class="claim_output"></pre>
-      </div>
-      <div>
-        <h2 class="claim_input">https://gist.github.com/Alice/123456789</h2>
-        <pre class="claim_output"></pre>
-      </div>
-    </div>
-  </body>
-
-  <script src="https://cdn.jsdelivr.net/npm/openpgp/dist/openpgp.min.js"></script>
-  <script src="../dist/doip.js" charset="utf-8"></script>
-  <script type="text/javascript" charset="utf-8">
-    window.addEventListener('load', async () => {
-      const claims = document.querySelectorAll('#claims > div')
-      claims.forEach(async (item, i) => {
-        claimInput = item.querySelector('.claim_input').textContent
-        item.querySelector('.claim_output').textContent = JSON.stringify(
-          await doip.claims.verify(claimInput, null, {
-            returnMatchesOnly: true,
-          }),
-          null,
-          2
-        )
-      })
-    })
-  </script>
-  <style>
-    h1,
-    h2 {
-      text-align: center;
-    }
-    #claims > div {
-      padding: 1em 2em;
-    }
-    #claims > div:nth-child(2n-1) {
-      background-color: #ddd;
-    }
-    pre {
-      padding: 1em;
-      border: 1px solid #bbb;
-    }
-  </style>
-</html>