Files: 62a7ed9e9f40e4074cdf4a0c74cb32327bb5abdd / overrides / patchcore / message / html / action / reply.js
353 bytesRaw
1 | var h = require('mutant/h') |
2 | var nest = require('depnest') |
3 | |
4 | exports.needs = nest({'intl.sync.i18n': 'first'}) |
5 | |
6 | exports.gives = nest('message.html.action') |
7 | |
8 | exports.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