git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Tree: f35f3abb7b44bd982ed14b0000ec35da8641afe3

Files: f35f3abb7b44bd982ed14b0000ec35da8641afe3 / overrides / patchcore / message / html / action / reply.js

353 bytesRaw
1var h = require('mutant/h')
2var nest = require('depnest')
3
4exports.needs = nest({'intl.sync.i18n': 'first'})
5
6exports.gives = nest('message.html.action')
7
8exports.create = (api) => {
9 const i18n = api.intl.sync.i18n
10 return nest('message.html.action', function reply (msg) {
11 return h('a', { href: msg.key, anchor: 'reply' }, i18n('Reply'))
12 })
13}
14

Built with git-ssb-web