git ssb

7+

dinoworm ๐Ÿ› / patchcore



Tree: 12f9e4861605413f2f160d9b2f15e4810a1c17b0

Files: 12f9e4861605413f2f160d9b2f15e4810a1c17b0 / message / html / author.js

389 bytesRaw
1const h = require('mutant/h')
2const nest = require('depnest')
3
4exports.needs = nest('about.obs.name', 'first')
5
6exports.gives = nest('message.html.author')
7
8exports.create = function (api) {
9 return nest('message.html.author', message_author)
10
11 function message_author (msg) {
12 return h('div', {title: msg.value.author}, [
13 '@', api.about.obs.name(msg.value.author)
14 ])
15 }
16}
17

Built with git-ssb-web