|
|
@ -4,7 +4,6 @@ function getContributors() {
|
|
|
|
jQuery.ajax('https://api.github.com/repos/mikebryant/ac-nh-turnip-prices/contributors', {})
|
|
|
|
jQuery.ajax('https://api.github.com/repos/mikebryant/ac-nh-turnip-prices/contributors', {})
|
|
|
|
.done(function (data) {
|
|
|
|
.done(function (data) {
|
|
|
|
data.forEach((contributor, idx) => {
|
|
|
|
data.forEach((contributor, idx) => {
|
|
|
|
console.debug('DEBUG:', contributor);
|
|
|
|
|
|
|
|
container.append(`<a href="${contributor.html_url}">${contributor.login}</a>`);
|
|
|
|
container.append(`<a href="${contributor.html_url}">${contributor.login}</a>`);
|
|
|
|
if (idx < data.length - 1) {
|
|
|
|
if (idx < data.length - 1) {
|
|
|
|
container.append(', ');
|
|
|
|
container.append(', ');
|
|
|
|