From ce40a8e8157ea299c5898177456cf68367ea0bd1 Mon Sep 17 00:00:00 2001 From: David Majda Date: Wed, 14 Sep 2011 20:24:27 +0200 Subject: [PATCH] benchmark/index.js: Use radix in |parseInt| call Fixes the following JSHint error: ./benchmark/index.js: line 59, col 18, Missing radix parameter. --- benchmark/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/index.js b/benchmark/index.js index e87e0fe..547060d 100644 --- a/benchmark/index.js +++ b/benchmark/index.js @@ -56,7 +56,7 @@ $("#run").click(function() { * 2. To minimize random errors. */ - var runCount = parseInt($("#run-count").val()); + var runCount = parseInt($("#run-count").val(), 10); if (isNaN(runCount) || runCount <= 0) { alert("Number of runs must be a positive integer."); return;