Permalink
Browse files

use jsonp for cross domain

  • Loading branch information...
defunkt committed Dec 17, 2008
1 parent 6fb3ad8 commit 022dd8153277a7ee012f93d6e75db38424a0cd46
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.html
View
@@ -43,7 +43,7 @@
$(function() {
var repos = [], list = $('#repos')
- $.getJSON('http://github.com/api/v1/json/defunkt', function(data) {
+ $.getJSON('http://github.com/api/v1/json/defunkt?callback=?', function(data) {
$.each(data.user.repositories, function(i) {
if (!this.fork) repos.push(this)
})

0 comments on commit 022dd81

Please sign in to comment.