aboutsummaryrefslogtreecommitdiff
path: root/lib/serve.js
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-02-08 18:19:42 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-02-08 18:19:42 -0500
commit212c8857db77c29247b6b2586f577bade48d4cb0 (patch)
treeee134929951bce1aedc013cfbfea30ca78ad0d16 /lib/serve.js
parent9816a0870954e623038c7b43acee99cc14b84cb3 (diff)
downloadpatchfoo-212c8857db77c29247b6b2586f577bade48d4cb0.tar.gz
patchfoo-212c8857db77c29247b6b2586f577bade48d4cb0.zip
commented code removed
Diffstat (limited to 'lib/serve.js')
-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)
}