git ssb

16+

Dominic / patchbay



Tree: 08e1fc42a3722f8f133fdcb3a7460462d599f889

Files: 08e1fc42a3722f8f133fdcb3a7460462d599f889 / 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