diff options
| author | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-25 03:15:16 +0000 |
|---|---|---|
| committer | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-25 03:15:16 +0000 |
| commit | 3ca0e78b313a1bded021cbb8b2dad241d7cad049 (patch) | |
| tree | 021514c624008dfb32a3cdb1a9cb25ad01a2e5ba /testImports.js | |
| parent | 34f553940cd5e9fba5ca6062333f42ba741b700a (diff) | |
| parent | 4ce98375d61429f2e41cfefe884df4f0640dd0a2 (diff) | |
Merge branch 'master' of https://github.com/HumairAK/solutions_repo
Diffstat (limited to 'testImports.js')
| -rw-r--r-- | testImports.js | 15 |
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 +});*/ |
