Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fixed some details that JSHint reported #2

Merged
merged 1 commit into from Oct 31, 2011
Jump to file or symbol
Failed to load files and symbols.
+6 −6
Split
@@ -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
@@ -8,7 +8,7 @@
*
*/
-;(function (window, document) {
+(function (window, document) {
window.gitwatch = {
@@ -108,7 +108,7 @@
};
- run = function () {
+ var run = function () {
window.gitwatch.run();
};