Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixed some details that JSHint reported #2

Merged
merged 1 commit into from

2 participants

@nicogranelli

There are really small details, I hope you don't mind

@addyosmani
Owner

Not at all! I appreciate you taking the effort to make these changes. Merging now.#2

@addyosmani addyosmani merged commit 1ce70ac into addyosmani:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 31, 2011
  1. @nicogranelli
This page is out of date. Refresh to see the latest.
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();
};
Something went wrong with that request. Please try again.