git ssb

16+

Dominic / patchbay



Tree: 7ec8576dc1fa3f5fd84478f8aa7f3ea3c6805c81

Files: 7ec8576dc1fa3f5fd84478f8aa7f3ea3c6805c81 / message / html / author.js

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

Built with git-ssb-web