mirror of
https://github.com/cwinfo/yggdrasil-network.github.io.git
synced 2024-11-09 15:40:27 +00:00
Update builds.md
Trying to make whitespace look OK...
This commit is contained in:
parent
1d9b6f3dcb
commit
25db64f3c5
@ -12,15 +12,17 @@ let url = 'https://circleci.com/api/v1.1/project/github/yggdrasil-network/yggdra
|
|||||||
fetch(url)
|
fetch(url)
|
||||||
.then(res => res.json())
|
.then(res => res.json())
|
||||||
.then(function (bins) {
|
.then(function (bins) {
|
||||||
|
var links = document.createElement('p')
|
||||||
for (var idx in bins) {
|
for (var idx in bins) {
|
||||||
var bin = bins[idx]
|
var bin = bins[idx]
|
||||||
var link = document.createElement('a');
|
var link = document.createElement('a');
|
||||||
link.appendChild(document.createTextNode(bin.path));
|
link.appendChild(document.createTextNode(bin.path));
|
||||||
link.title = bin.path;
|
link.title = bin.path;
|
||||||
link.href = bin.url;
|
link.href = bin.url;
|
||||||
document.body.appendChild(link);
|
links.appendChild(link);
|
||||||
document.body.appendChild(document.createElement('br'));
|
links.appendChild(document.createElement('br'));
|
||||||
}
|
}
|
||||||
|
document.body.appendChild(links)
|
||||||
})
|
})
|
||||||
.catch(err => { throw err });
|
.catch(err => { throw err });
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user