From 320cbf3f98d575346236a2d076600e176709047e Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 2 Mar 2013 08:43:52 +0200 Subject: [PATCH] github.js: add JSHint settings --- htdocs/site/js/github.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/site/js/github.js b/htdocs/site/js/github.js index be7a1a478..ee883f66f 100644 --- a/htdocs/site/js/github.js +++ b/htdocs/site/js/github.js @@ -1,5 +1,7 @@ /*! 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 */ + jQuery.fn.listCommits = function(username, repository, branch) { this.html('Querying GitHub for recent commits…');