5
0
mirror of https://github.com/cwinfo/yggdrasil-network.github.io.git synced 2024-09-19 16:09:36 +00:00

Update builds.md

This commit is contained in:
Arceliar 2018-03-12 18:49:32 -05:00 committed by GitHub
parent ae7f00c17f
commit 1d9b6f3dcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,12 @@ fetch(url)
.then(function (bins) { .then(function (bins) {
for (var idx in bins) { for (var idx in bins) {
var bin = bins[idx] var bin = bins[idx]
console.log("<a href=\"" + bin.url + "\">" + bin.path + "</a><br/>"); 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'));
} }
}) })
.catch(err => { throw err }); .catch(err => { throw err });