diff --git a/htdocs/site/js/github.js b/htdocs/site/js/github.js index 640860e7d..f7f256461 100644 --- a/htdocs/site/js/github.js +++ b/htdocs/site/js/github.js @@ -1,5 +1,5 @@ -// Inspired by: -// http://aboutcode.net/2010/11/11/list-github-projects-using-javascript.html +// Inspired by: http://aboutcode.net/2010/11/11/list-github-projects-using-javascript.html + jQuery.fn.listCommits = function(username, repository, branch) { this.html('Querying GitHub for recent commits…'); diff --git a/htdocs/site/js/github.min.js b/htdocs/site/js/github.min.js index 059c747bd..c80ea371f 100644 --- a/htdocs/site/js/github.min.js +++ b/htdocs/site/js/github.min.js @@ -1 +1,2 @@ +// Inspired by: http://aboutcode.net/2010/11/11/list-github-projects-using-javascript.html jQuery.fn.listCommits=function(e,t,n){function i(e){var t=e.indexOf("\n");return t>-1?e.slice(0,t):e}this.html("Querying GitHub for recent commits…");var r=this;$.getJSON("https://api.github.com/repos/"+e+"/"+t+"/commits?sha="+n+"&callback=?",function(n){var s=n.data,o=$('