git ssb

16+

Dominic / patchbay



Tree: 59ec50547ac8f97c3f287fc4854692b515223939

Files: 59ec50547ac8f97c3f287fc4854692b515223939 / modules / avatar.js

250 bytesRaw
1
2var h = require('hyperscript')
3var u = require('../util')
4
5exports.avatar = function (author, sbot) {
6 return h('a', {href:'#'+author}, u.first(exports.avatar_name, function (plug) {
7 return plug(author, sbot)
8 }))
9}
10
11exports.avatar_name = []
12
13

Built with git-ssb-web