From 6d09f60bbfe5ee737ff7a138260cc33e3db5ca46 Mon Sep 17 00:00:00 2001 From: kumavis Date: Sun, 21 Oct 2018 05:48:15 -0400 Subject: [PATCH] ens-ipfs - refactor for readability (#5568) * ens-ipfs - refactor for readability * ens-ipfs - use official ipfs gateway for better performance * lint - remove unused code * ens-ipfs - support path and search * lint - gotta love that linter * ens-ipfs - improve loading page formatting * ens-ipfs - loading - redirect to 404 after 1 min timeout * ens-ipfs - destructure for cleaner code --- app/loading.html | 12 +++- app/scripts/background.js | 10 +-- .../lib/{ => ens-ipfs}/contracts/registrar.js | 0 .../lib/{ => ens-ipfs}/contracts/resolver.js | 0 app/scripts/lib/ens-ipfs/resolver.js | 54 ++++++++++++++ app/scripts/lib/ens-ipfs/setup.js | 63 ++++++++++++++++ app/scripts/lib/ipfsContent.js | 46 ------------ app/scripts/lib/resolver.js | 71 ------------------- 8 files changed, 131 insertions(+), 125 deletions(-) rename app/scripts/lib/{ => ens-ipfs}/contracts/registrar.js (100%) rename app/scripts/lib/{ => ens-ipfs}/contracts/resolver.js (100%) create mode 100644 app/scripts/lib/ens-ipfs/resolver.js create mode 100644 app/scripts/lib/ens-ipfs/setup.js delete mode 100644 app/scripts/lib/ipfsContent.js delete mode 100644 app/scripts/lib/resolver.js diff --git a/app/loading.html b/app/loading.html index aef5d9607..71403a5ac 100644 --- a/app/loading.html +++ b/app/loading.html @@ -1,5 +1,9 @@ - + + + + + MetaMask Loading