From 03d3f598045bd49fa14a8e4e81ebcb9b89bfd1f6 Mon Sep 17 00:00:00 2001 From: Baris Usakli Date: Wed, 17 Jul 2013 15:48:09 -0400 Subject: [PATCH] change to async.each for addUserInfoToPosts --- src/topics.js | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/topics.js b/src/topics.js index 715122cc3e..1d8eef2f92 100644 --- a/src/topics.js +++ b/src/topics.js @@ -51,16 +51,15 @@ marked.setOptions({ } function addUserInfoToPosts(next) { - var done = 0; - - for(var i=0, ii=postData.length; i