aboutsummaryrefslogtreecommitdiff
path: root/.themes
diff options
context:
space:
mode:
authorZhao Lü <zlu@me.com>2012-07-19 22:09:48 -0700
committerBrandon Mathis <brandon@imathis.com>2012-09-09 14:50:00 -0500
commit6c26f907cc0cf4704aaf5377738721177ec048f3 (patch)
treeb4c038bc3e7766c8d067b66fe4813b0135c52589 /.themes
parent53ca59d6d0aa79b67ef89dbef16d2550df97e11d (diff)
downloadmy_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.
Diffstat (limited to '.themes')
-rw-r--r--.themes/classic/source/javascripts/github.js2
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;
}