From 52227e5ceedb235e013849e5942168852951773d Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sun, 8 Nov 2020 02:05:23 +0100 Subject: [PATCH] Run prettier on demo --- demo/index.html | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/demo/index.html b/demo/index.html index 638755a..4ec9562 100644 --- a/demo/index.html +++ b/demo/index.html @@ -1,11 +1,10 @@ - + doip.js browser demo -

doip.js browser demo

@@ -18,11 +17,15 @@

       
-

https://twitter.com/alice/status/1234567890123456789

+

+ https://twitter.com/alice/status/1234567890123456789 +


       
-

https://www.reddit.com/user/Alice/comments/123456/post

+

+ https://www.reddit.com/user/Alice/comments/123456/post +


       
@@ -50,7 +53,6 @@

       
- @@ -59,12 +61,20 @@ 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.verify(claimInput, null, { 'returnMatchesOnly': true, 'xmppVcardServerDomain': 'vcard.server.org' }), null, 2) + item.querySelector('.claim_output').textContent = JSON.stringify( + await doip.verify(claimInput, null, { + returnMatchesOnly: true, + xmppVcardServerDomain: 'vcard.server.org', + }), + null, + 2 + ) }) })