aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/javascripts
diff options
context:
space:
mode:
authorZhao Lü <zlu@me.com>2012-07-19 22:09:48 -0700
committerZhao Lü <zlu@me.com>2012-07-24 13:25:58 -0700
commit9d7240e47f8edd732b5f7912d13b95266a3f4098 (patch)
tree25d9fbea459dd62142512603b4b356b95ff75e2c /.themes/classic/source/javascripts
parent0d14d9cd0692fe6cf65e27f49da0247f98a45cdf (diff)
downloadmy_new_personal_website-9d7240e47f8edd732b5f7912d13b95266a3f4098.tar.xz
my_new_personal_website-9d7240e47f8edd732b5f7912d13b95266a3f4098.zip
Updated Github API to V3.
Github API V2 has been removed. The response data format also changed.
Diffstat (limited to '.themes/classic/source/javascripts')
-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;
}