aboutsummaryrefslogtreecommitdiff
path: root/testImports.js
diff options
context:
space:
mode:
authorkumar <kumar.damani@mail.utoronto.ca>2016-07-25 03:02:05 +0000
committerkumar <kumar.damani@mail.utoronto.ca>2016-07-25 03:02:05 +0000
commit4ce98375d61429f2e41cfefe884df4f0640dd0a2 (patch)
tree598f075f591fc9c0faf223c2867da897d4b1d94c /testImports.js
parent482401fa5777b910b099f96b0abdadf1d4cfa54c (diff)
added exam info along with the comments histroy
Diffstat (limited to 'testImports.js')
-rw-r--r--testImports.js15
1 files changed, 8 insertions, 7 deletions
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
+});*/