From 25db64f3c5927753abfcc1241e7ecbbd7bf4a7d5 Mon Sep 17 00:00:00 2001 From: Arceliar Date: Mon, 12 Mar 2018 18:54:58 -0500 Subject: [PATCH] Update builds.md Trying to make whitespace look OK... --- builds.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/builds.md b/builds.md index 08996d4..08f7675 100644 --- a/builds.md +++ b/builds.md @@ -12,15 +12,17 @@ let url = 'https://circleci.com/api/v1.1/project/github/yggdrasil-network/yggdra fetch(url) .then(res => res.json()) .then(function (bins) { + var links = document.createElement('p') for (var idx in bins) { var bin = bins[idx] var link = document.createElement('a'); link.appendChild(document.createTextNode(bin.path)); link.title = bin.path; link.href = bin.url; - document.body.appendChild(link); - document.body.appendChild(document.createElement('br')); + links.appendChild(link); + links.appendChild(document.createElement('br')); } + document.body.appendChild(links) }) .catch(err => { throw err });