From 39537f3f2a5969f607f5efc8b77668248adf38f3 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 14 Jan 2015 21:53:55 -0800 Subject: Fixed minor linter issues. --- js/test.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'js') diff --git a/js/test.js b/js/test.js index b231b21..3f1b6ff 100755 --- 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('\n', 10000) } ]; - for (var i = 0; i < cases.length; i++) { + for (i = 0; i < cases.length; i++) { pathologicalTest(cases[i], results); } cursor.write('\n'); -- cgit v1.2.3