diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-14 21:53:55 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-14 21:53:55 -0800 |
commit | 39537f3f2a5969f607f5efc8b77668248adf38f3 (patch) | |
tree | 19686c62e277f368b41e1b1ad6fd766caec46868 /js | |
parent | 151903307c6d0545d0e747174519eda70b846ce1 (diff) |
Fixed minor linter issues.
Diffstat (limited to 'js')
-rwxr-xr-x | js/test.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -21,7 +21,8 @@ var repeat = function(pattern, count) { if (count & 1) { result += pattern; } - count >>= 1, pattern += pattern; + count >>= 1; + pattern += pattern; } return result + pattern; }; @@ -156,7 +157,7 @@ fs.readFile('spec.txt', 'utf8', function(err, data) { repeat('</blockquote>\n', 10000) } ]; - for (var i = 0; i < cases.length; i++) { + for (i = 0; i < cases.length; i++) { pathologicalTest(cases[i], results); } cursor.write('\n'); |