Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (18 sloc) 626 Bytes
<div class='repos'></div>
<script>
$.getJSON('/github.json', function (result) {
//console.log(result);
var repos = result;
$.each(repos, function(i, repo){
item = $('<article class="post module" />');
name = repo.name;
link = repo.html_url;
title = $('<h3><a href="'+link+'">'+name+'</a></h3>');
description = $('<span class="date description">'+repo.description+'</span>');
title.appendTo(item);
description.appendTo(item);
item.appendTo($('.repos'));
//console.log(i+'=>'+repo.html_url);
});
});
</script>