diff options
author | Zhao Lü <zlu@me.com> | 2012-07-19 22:09:48 -0700 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2012-09-09 14:50:00 -0500 |
commit | 6c26f907cc0cf4704aaf5377738721177ec048f3 (patch) | |
tree | b4c038bc3e7766c8d067b66fe4813b0135c52589 | |
parent | 53ca59d6d0aa79b67ef89dbef16d2550df97e11d (diff) | |
download | my_new_personal_website-6c26f907cc0cf4704aaf5377738721177ec048f3.tar.xz my_new_personal_website-6c26f907cc0cf4704aaf5377738721177ec048f3.zip |
Updated Github API to V3.
Github API V2 has been removed. The response data format also changed.
-rw-r--r-- | .themes/classic/source/javascripts/github.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.themes/classic/source/javascripts/github.js b/.themes/classic/source/javascripts/github.js index 8b79dad1..9e98b8c2 100644 --- a/.themes/classic/source/javascripts/github.js +++ b/.themes/classic/source/javascripts/github.js @@ -3,7 +3,7 @@ var github = (function(){ var i = 0, fragment = '', t = $(target)[0]; for(i = 0; i < repos.length; i++) { - fragment += '<li><a href="'+repos[i].url+'">'+repos[i].name+'</a><p>'+repos[i].description+'</p></li>'; + fragment += '<li><a href="'+repos[i].html_url+'">'+repos[i].name+'</a><p>'+(repos[i].description||'')+'</p></li>'; } t.innerHTML = fragment; } |