Permalink
Browse files

Troubleshooting.

  • Loading branch information...
1 parent 554e7fe commit f15070e17cde04f47a45629e394e13d7880ef7ff @fishtank-xx fishtank-xx committed Apr 25, 2010
Showing with 2 additions and 3 deletions.
  1. +2 −3 js/index.js
View
@@ -13,6 +13,7 @@ Jaml.register('saunter.project', function(proj) {
var saunter = {
populate_projects: function(projects) {
var badge = $("#badge");
+ console.log(projects);
_.each(projects, function(project) {
badge.append(Jaml.render(project));
});
@@ -23,8 +24,6 @@ $(document).ready(function() {
jQuery.ajax({
url: 'http://github.com/api/v1/json/pyronicide',
dataType: 'jsonp',
- success: function(resp) {
- console.log(resp);
- saunter.populate_projects(resp.user.repositories); }
+ success: function(resp) { saunter.populate_projects(resp.user.repositories); }
});
});

0 comments on commit f15070e

Please sign in to comment.