diff options
Diffstat (limited to 'preprocess.js')
-rw-r--r-- | preprocess.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/preprocess.js b/preprocess.js index 2055382..831e3cf 100644 --- a/preprocess.js +++ b/preprocess.js @@ -15,7 +15,7 @@ function filterEdges(data) { var ratelimit_count = 0, ratelimit_max = 10; function ratelimit() { - return ratelimit_count <= ratelimit_max; + return ++ratelimit_count <= ratelimit_max; } // filter away invalid edges data.edges = data.edges.filter(function (link, i) { |