Permalink
Browse files

new homepage

  • Loading branch information...
1 parent 689f4dd commit 7a2d4441b010981e78a405d356c927ffd9ca04a4 @thomasdavis committed Oct 5, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 index.html
View
@@ -202,11 +202,11 @@ <h2 style="line-height: 80px;"><a href="<%= org.url %>"><%= org.login %></a></h2
dataType: "jsonp",
success: function (orgs) {
console.log(orgs);
- _.each(orgs, function(org){
- $.ajax('https://api.github.com/orgs/' + org.data.login + '/repos'+ '?callback=?', {
+ _.each(orgs.data, function(org){
+ $.ajax('https://api.github.com/orgs/' + org.login + '/repos'+ '?callback=?', {
dataType: "jsonp",
success: function (repos) {
- var tableContainer = $(_.template($('#repositories-table').html(), {repos: repos.data, org: org.data}));
+ var tableContainer = $(_.template($('#repositories-table').html(), {repos: repos.data, org: org}));
var table = $('table', tableContainer);
$('.my-orgs').append(tableContainer);

0 comments on commit 7a2d444

Please sign in to comment.