diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-02-08 18:19:42 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-02-08 18:19:42 -0500 |
commit | 212c8857db77c29247b6b2586f577bade48d4cb0 (patch) | |
tree | ee134929951bce1aedc013cfbfea30ca78ad0d16 | |
parent | 9816a0870954e623038c7b43acee99cc14b84cb3 (diff) | |
download | patchfoo-212c8857db77c29247b6b2586f577bade48d4cb0.tar.gz patchfoo-212c8857db77c29247b6b2586f577bade48d4cb0.zip |
commented code removed
-rw-r--r-- | lib/serve.js | 28 |
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) } |