forked from zer.ooo/web
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
618 B
JavaScript
17 lines
618 B
JavaScript
Zerooo.whenReady(function() {
|
|
Zerooo.getJSON('https://api.github.com/repos/EaterOfCode/zer.ooo/contributors', function (err, data) {
|
|
if (err) return;
|
|
|
|
var contributors = data.filter(function (data) {
|
|
// It's me!
|
|
return data.id !== 1922630;
|
|
});
|
|
|
|
var html = Zerooo.joinHumanReadable(contributors.map(function (contributor) {
|
|
return '<a href="' + contributor.html_url + '">' + contributor.login + '</a>';
|
|
}));
|
|
|
|
Zerooo.select('#contributors').innerHTML = html;
|
|
Zerooo.select('#contributors-container').style.display = 'block';
|
|
});
|
|
}); |