From 4ce98375d61429f2e41cfefe884df4f0640dd0a2 Mon Sep 17 00:00:00 2001 From: kumar Date: Sun, 24 Jul 2016 23:02:05 -0400 Subject: added exam info along with the comments histroy --- testImports.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'testImports.js') diff --git a/testImports.js b/testImports.js index 5a43034..aa044e0 100644 --- a/testImports.js +++ b/testImports.js @@ -58,18 +58,18 @@ var questions_array = ["this is q1", "this is q2"]; } });*/ -/*dbFile.retrieve_userComments_history("some_user name", function (bool, results) { +dbFile.retrieve_userComments_history("kumar", function (bool, results) { if (!bool) console.log(results); else { console.log(results); } - });*/ + }); /*dbFile.retrieve_userComments_count("sad@saddy.com", function (bool, result) { - if (!bool) console.log(result); - else { // bool is true i.e no error occured. result contains an integer - console.log(result); - } + if (!bool) console.log(result); + else { // bool is true i.e no error occured. result contains an integer + console.log(result); + } });*/ @@ -153,6 +153,7 @@ var questions_array = ["this is q1", "this is q2"]; console.log(mssg); });*/ +/* dbFile.remove_course("MAT237", function (bool, mssg) { console.log(mssg); -}); \ No newline at end of file +});*/ -- cgit v1.2.3