git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Tree: 76bc25fbc6edd50d2de53f58f3033960b0b32a34

Files: 76bc25fbc6edd50d2de53f58f3033960b0b32a34 / plugs / message / html / decorate / context-menu.js

278 bytesRaw
1const nest = require('depnest')
2
3exports.gives = nest('message.html.decorate')
4
5exports.create = (api) => {
6 return nest('message.html.decorate', function (element, { msg }) {
7 // accessed from lib/context-menu-and-spellcheck
8 element.msg = msg
9 return element
10 })
11}
12

Built with git-ssb-web