projects
/
oweals
/
finalsclub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1efb88d
)
add todo
author
Seth Woodworth
<seth@sethish.com>
Sat, 28 Jan 2012 17:18:46 +0000
(12:18 -0500)
committer
Seth Woodworth
<seth@sethish.com>
Sat, 28 Jan 2012 17:18:46 +0000
(12:18 -0500)
app.js
patch
|
blob
|
history
diff --git
a/app.js
b/app.js
index 0be04b4a24cb0bedf3c7640d25fa91142f7e378d..78c135b7f15b460abd6247cb265280114ae203ba 100644
(file)
--- a/
app.js
+++ b/
app.js
@@
-1844,6
+1844,7
@@
io.set('authorization', function ( handshake, next ) {
});
var backchannel = new Backchannel(app, io.of('/backchannel'), {
+ // TODO: if lecture belongs to course (find pinker's courseId) pass a 'no-answers' true/false
subscribe: function(lecture, send) {
Post.find({'lecture': lecture}, function(err, posts) {
send(posts);