Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixed typo in index.html

  • Loading branch information...
commit 2e46899f6c6fba85814d200aeed0237ae1fb295e 1 parent 88a9a99
Andrea Giammarchi authored

Showing 2 changed files with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. +1 1  index.html
  2. +2 1  test/benchmark.js
2  index.html
@@ -7,7 +7,7 @@
7 7 var TESTS = ["circular-json"];
8 8 </script>
9 9 <script>// don't change code here
10   - for(var i = 0; i < TESTS.length; ++i && document.write('<script src="build/' + TESTS + '.max.js"><' + '/script>'));
  10 + for(var i = 0; i < TESTS.length; ++i && document.write('<script src="build/' + TESTS[i - 1] + '.max.js"><' + '/script>'));
11 11 function wru(wru){
12 12 var
13 13 all = [],
3  test/benchmark.js
@@ -47,6 +47,8 @@ dummy100 = dummy50.concat(dummy50);
47 47 console.log('-----------------------------------');
48 48 run(CircularJSON.stringify, dummy100);
49 49 run(CircularJSON.parse, r);
  50 +run(JSON.stringify, dummy100);
  51 +run(JSON.parse, r);
50 52 console.log('-----------------------------------');
51 53 console.log('90% same objects');
52 54 dummy100 = [].concat(
@@ -56,6 +58,5 @@ dummy100 = [].concat(
56 58 console.log('-----------------------------------');
57 59 run(CircularJSON.stringify, dummy100);
58 60 run(CircularJSON.parse, r);
59   -
60 61 run(JSON.stringify, dummy100);
61 62 run(JSON.parse, r);

0 comments on commit 2e46899

Please sign in to comment.
Something went wrong with that request. Please try again.