From 8ce1e985bc5062ffe13dc4db9bfb0092dd8fee2e Mon Sep 17 00:00:00 2001 From: Victor Bjelkholm Date: Sun, 29 Jan 2017 12:59:22 +0100 Subject: [PATCH] Add notes to @victorbjelkholm for refactor --- examples/transfer-files/complete/js/app.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/examples/transfer-files/complete/js/app.js b/examples/transfer-files/complete/js/app.js index c1518955dd..d5c5f9bc52 100644 --- a/examples/transfer-files/complete/js/app.js +++ b/examples/transfer-files/complete/js/app.js @@ -20,9 +20,21 @@ const $allDisabledInputs = document.querySelectorAll('input:disabled') let ipfs let peerInfo -// TODO groups +// TODO groups to refactor into // ipfs stuff +// start node +// get details +// get peers +// connect to peer +// get contents of hash +// add files to ipfs // creating html stuff +// list of peers / peers state +// add file to download list +// error handling +// show ipfs id +// show ipfs addressess +// drag-and-drop // event listeners // states