Skip to content

Commit

Permalink
fixed some details that JSHint reported
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Granelli committed Oct 31, 2011
1 parent 001c46f commit 112edc5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions github-watchers-nologo.js
Expand Up @@ -8,7 +8,7 @@
*
*/

;(function (window, document) {
(function (window, document) {

window.gitwatch = {

Expand Down Expand Up @@ -91,8 +91,8 @@
var text = "";

for (var i = 0, l = this.elements.length; i < l; i++) {
currentEl = this.elements[i];
currentClass = currentEl.className;
var currentEl = this.elements[i],
currentClass = currentEl.className;

if (currentClass.indexOf('small') > 0 || currentClass.indexOf('vertical') > 0) {
text = count;
Expand All @@ -105,7 +105,7 @@

};

run = function () {
var run = function () {
window.gitwatch.run();
};

Expand Down
4 changes: 2 additions & 2 deletions github-watchers.js
Expand Up @@ -8,7 +8,7 @@
*
*/

;(function (window, document) {
(function (window, document) {

window.gitwatch = {

Expand Down Expand Up @@ -108,7 +108,7 @@

};

run = function () {
var run = function () {
window.gitwatch.run();
};

Expand Down

0 comments on commit 112edc5

Please sign in to comment.