github.js: add JSHint settings

This commit is contained in:
XhmikosR 2013-03-02 08:43:52 +02:00 committed by Daniel Marjamäki
parent c807b12b37
commit 320cbf3f98
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
/*! 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 */
/*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) { jQuery.fn.listCommits = function(username, repository, branch) {
this.html('<span>Querying GitHub for recent commits&hellip;</span>'); this.html('<span>Querying GitHub for recent commits&hellip;</span>');