5
0
mirror of https://github.com/cwinfo/yggdrasil-network.github.io.git synced 2024-11-09 15:40:27 +00:00

Update builds.md

This commit is contained in:
Neil Alexander 2018-10-17 16:55:35 +01:00 committed by GitHub
parent f4f89f5d30
commit dd197fdb97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,39 +23,24 @@ json.then(function(res) {
return res.json();
}).then(function (bins) {
var links = document.createElement('p')
var ctllinks = document.createElement('p')
for (var idx in bins) {
if (bin.path.includes("yggdrasilctl")) {
continue
}
var bin = bins[idx]
var link = document.createElement('a');
link.appendChild(document.createTextNode(bin.path));
link.title = bin.path;
link.href = bin.url;
if (bin.path.includes("yggdrasilctl")) {
ctllinks.appendChild(link);
ctllinks.appendChild(document.createElement('br'));
} else {
links.appendChild(link);
links.appendChild(document.createElement('br'));
}
}
document.getElementById("buildArtifactLinks").appendChild(links)
document.getElementById("buildArtifactLinksCtl").appendChild(ctllinks)
})
.catch(err => { throw err });
json.then(function(res) {
return res.json();
}).then(function (bins) {
var links = document.createElement('p')
for (var idx in bins) {
if (!bin.path.includes("yggdrasilctl")) {
continue
}
var bin = bins[idx]
var link = document.createElement('a');
link.appendChild(document.createTextNode(bin.path));
link.title = bin.path;
link.href = bin.url;
links.appendChild(link);
links.appendChild(document.createElement('br'));
}
document.getElementById("buildArtifactLinksCtl").appendChild(links)
})
.catch(err => { throw err });
</script>