From 9abb85799c70fb66efbf0828de50869d625a1225 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 24 Jan 2015 04:31:50 +0000 Subject: [PATCH] realization how aCallAll works --- src/node/utils/ExportHtml.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/node/utils/ExportHtml.js b/src/node/utils/ExportHtml.js index 81fc0be9d..50ff11add 100644 --- a/src/node/utils/ExportHtml.js +++ b/src/node/utils/ExportHtml.js @@ -418,7 +418,12 @@ function getHTMLFromAtext(pad, atext, authorColors) attribLine: attribLines[i], text: textLines[i] }, function(err, newLineContent){ - if(newLineContent.length !== 0) lineContent = newLineContent[0]; +//new Line Content is an array of each of the responses from aCallAll.. We should return a function to it +console.error(newLineContent); + if(newLineContent.length !== 0){ +console.error("lC", newLineContent[0]); + lineContent = newLineContent[0]; + } // modified lineContent here });