Skip to content

Commit

Permalink
tabs to spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
furf committed Nov 30, 2010
1 parent 0bdf22f commit 80da798
Show file tree
Hide file tree
Showing 12 changed files with 442 additions and 3,600 deletions.
18 changes: 9 additions & 9 deletions build/jslint-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function lint (file) {

var found = 0, src, errors, i, n, error;

print('JSLint checking: ' + file);
print('JSLint checking: ' + file);

src = readFile(file);

Expand All @@ -47,18 +47,18 @@ function lint (file) {

for (i = 0, n = errors.length; i < n; ++i) {

error = errors[i];
error = errors[i];

if (!ok[error.reason]) {
found++;
print(error.evidence);
print(' Problem at line ' + error.line + ' character ' + error.character + ': ' + error.reason);
}
if (!ok[error.reason]) {
found++;
print(error.evidence);
print(' Problem at line ' + error.line + ' character ' + error.character + ': ' + error.reason);
}
}

if (found > 0) {
print(found + ' error(s) found.');
print(found + ' error(s) found.');
} else {
print('JSLint check passed.');
print('JSLint check passed.');
}
}
Loading

0 comments on commit 80da798

Please sign in to comment.