- Commit
- 39537f3f2a5969f607f5efc8b77668248adf38f3
- Parent
- 151903307c6d0545d0e747174519eda70b846ce1
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Fixed minor linter issues.
My personal build of CMark ✏️
Fixed minor linter issues.
1 file changed, 3 insertions, 2 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | js/test.js | 5 | 3 | 2 |
diff --git a/js/test.js b/js/test.js @@ -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');