git ssb

0+

noffle / %MbZg2FUvpSxIgWf1KBr…



forked from ev / sdash

Commit 2dceaa4a1e9af879885c4b6a6b4a93d73ae64a65

remove unnecessary function name

Ev Bogue committed on 8/18/2016, 9:32:21 PM
Parent: a2cf3fa96e227c0ae4246875768dbf9607d4120e

Files changed

index.jschanged
index.jsView
@@ -10,9 +10,8 @@
1010 var message = 'I said nothing';
1111 var date = 'Today!';
1212
1313 app.use(router.routes())
14-app.use(router.allowedMethods())
1514
1615 var render = views(__dirname, { ext: 'jade'});
1716
1817 router.get('/', function *(next) {
@@ -24,9 +23,9 @@
2423 id: me,
2524 limit: 1,
2625 reverse: true
2726 }),
28- pull.drain(function printMessage(msg) {
27+ pull.drain(function (msg) {
2928 date = moment(msg.value.timestamp).fromNow()
3029 if (msg.value.content.type === 'post') {
3130 message = (msg.value.content.text)
3231 }

Built with git-ssb-web