git ssb

16+

Dominic / patchbay



Tree: 682c62ee009cae46f4f5328ce86d4c2b938b2eb2

Files: 682c62ee009cae46f4f5328ce86d4c2b938b2eb2 / 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