Skip to content
Browse files

fixed some details that JSHint reported

  • Loading branch information...
1 parent 001c46f commit 112edc56ab52cd093635b05d6cc090bacb59681d @nicogranelli committed Oct 31, 2011
Showing with 6 additions and 6 deletions.
  1. +4 −4 github-watchers-nologo.js
  2. +2 −2 github-watchers.js
View
8 github-watchers-nologo.js
@@ -8,7 +8,7 @@
*
*/
-;(function (window, document) {
+(function (window, document) {
window.gitwatch = {
@@ -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;
@@ -105,7 +105,7 @@
};
- run = function () {
+ var run = function () {
window.gitwatch.run();
};
View
4 github-watchers.js
@@ -8,7 +8,7 @@
*
*/
-;(function (window, document) {
+(function (window, document) {
window.gitwatch = {
@@ -108,7 +108,7 @@
};
- run = function () {
+ var run = function () {
window.gitwatch.run();
};

0 comments on commit 112edc5

Please sign in to comment.
Something went wrong with that request. Please try again.