Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed small typo in the benchmark.. that caused benchmarks to run twi…

…ce..
  • Loading branch information...
commit d91f1fc4db8ecc73a0c5c7c29629ded0dd815e0e 1 parent 2871829
@3rd-Eden 3rd-Eden authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 benchmarks/benchmark.js
View
6 benchmarks/benchmark.js
@@ -36,7 +36,7 @@ constructing
// run the next benchmark if it exists
var next = benchmarks.shift();
- if (next && next.run()) next.run();
+ if (next && next.run) next.run();
});
var random = new Benchmark.Suite;
@@ -55,7 +55,7 @@ random
// run the next benchmark if it exists
var next = benchmarks.shift();
- if (next && next.run()) next.run();
+ if (next && next.run) next.run();
});
var same = new Benchmark.Suite;
@@ -74,7 +74,7 @@ same
// run the next benchmark if it exists
var next = benchmarks.shift();
- if (next && next.run()) next.run();
+ if (next && next.run) next.run();
});
Please sign in to comment.
Something went wrong with that request. Please try again.