From cff2126df92445809a6b79697db1e277de1ba3c8 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 5 Mar 2013 18:51:22 +0200 Subject: [PATCH] github.js: switch to 4 spaces for indentation --- htdocs/site/js/github.js | 44 ++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/htdocs/site/js/github.js b/htdocs/site/js/github.js index f5c611ee6..dd40dfead 100644 --- a/htdocs/site/js/github.js +++ b/htdocs/site/js/github.js @@ -1,35 +1,35 @@ /*! Inspired by: http://aboutcode.net/2010/11/11/list-github-projects-using-javascript.html */ -/*jshint forin:true, noarg:true, noempty:true, eqeqeq:true, bitwise:true, strict:false, undef:true, unused:true, curly:true, browser:true, jquery:true, indent:2, maxerr:50 */ +/*jshint forin:true, noarg:true, noempty:true, eqeqeq:true, bitwise:true, strict:false, undef:true, unused:true, curly:true, browser:true, jquery:true, indent:4*/ jQuery.fn.listCommits = function(username, repository, branch) { - this.html('Querying GitHub for recent commits…'); + this.html('Querying GitHub for recent commits…'); - var target = this; - $.getJSON('https://api.github.com/repos/' + username + '/' + repository + '/commits?sha=' + branch + '&callback=?', function(response) { - var commits = response.data, - list = $('