aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/serve.js28
1 files changed, 1 insertions, 27 deletions
diff --git a/lib/serve.js b/lib/serve.js
index fbf8d80..dfb68e2 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -600,37 +600,11 @@ Serve.prototype.logbook2 = function (ext) {
serve.respondSink(200, {
'Content-Type': ctype(ext)
})
- //pull.drain(function(msg) {
- //console.log(JSON.stringify(msg));
- //})
)
}
, hops=3)
-
- //this.renderThreadPaginated(opts, null, q),
- //this.wrapMessages(),
- //this.wrapPublic(),
- //this.wrapPage('public'),
- //this.respondSink(200, {
- //'Content-Type': ctype(ext)
- //})
- //)
- //});
-
- //pull(
- //this.app.createLogStream(opts),
- //pull.filter(msg => {
- //return !msg.value.content.vote
- //}),
- //this.renderThreadPaginated(opts, null, q),
- //this.wrapMessages(),
- //this.wrapPublic(),
- //this.wrapPage('public'),
- //this.respondSink(200, {
- //'Content-Type': ctype(ext)
- //})
- //)
}
+
compareMsgs = function(a, b) {
return -(a.value.timestamp - b.value.timestamp)
}