aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkumar <kumar.damani@mail.utoronto.ca>2016-07-25 03:52:56 +0000
committerkumar <kumar.damani@mail.utoronto.ca>2016-07-25 03:52:56 +0000
commit74fe077b29ee681f8e55d14afdbd7c93bc2c1048 (patch)
tree831e716c3194a8d93ff59ddb9cad13ccc0fa5379
parent7c222d2418ba44bd4f2f9ffd844f97f43974029a (diff)
updated comments and moved underscoer module from dev to regualr dependensices
-rw-r--r--node_simple.js3
-rw-r--r--package.json6
2 files changed, 4 insertions, 5 deletions
diff --git a/node_simple.js b/node_simple.js
index 3741e1e..447c605 100644
--- a/node_simple.js
+++ b/node_simple.js
@@ -323,7 +323,8 @@ exports.retrieveFollows = function (user_name, callback) {
/**
* This function will retrieve ALL the comments a user has ever made.
- * It returns an array containing objects of the form: {exam_id, comment, date}.
+ * It returns an array containing objects of the form: {exam_id, comment, date, ...
+ * course_code, year, term}.
* Note: a comment should only exist IF a solution exists.
*
* @param {string} user_name: the unique user name for the user
diff --git a/package.json b/package.json
index 9e23edc..3cae8da 100644
--- a/package.json
+++ b/package.json
@@ -39,9 +39,7 @@
"passport": "^0.3.2",
"passport-local": "^1.0.0",
"sanitizer": "^0.1.3",
- "socket.io": "^1.4.8"
- },
- "devDependencies": {
- "underscore": "~1.8.3"
+ "socket.io": "^1.4.8",
+ "underscore": "^1.8.3"
}
}