git ssb

16+

Dominic / patchbay



Tree: a75e10540025af11735b3a0b2d0b438eee09e20f

Files: a75e10540025af11735b3a0b2d0b438eee09e20f / modules / avatar.js

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

Built with git-ssb-web