git ssb

16+

Dominic / patchbay



Tree: 68a3d9b610b22ace72d4c6ebea246ad30865d86a

Files: 68a3d9b610b22ace72d4c6ebea246ad30865d86a / about / html / link.js

334 bytesRaw
1var nest = require('depnest')
2var { h } = require('mutant')
3
4exports.gives = nest('about.html.link')
5
6exports.needs = nest({
7 'about.obs.name': 'first'
8})
9
10exports.create = function (api) {
11 return nest('about.html.link', function (id, text = null) {
12 return h('a', {href: id, title: id}, text || api.about.obs.name(id))
13 })
14}
15
16

Built with git-ssb-web