Files: 62a7ed9e9f40e4074cdf4a0c74cb32327bb5abdd / plugs / message / html / decorate / context-menu.js
278 bytesRaw
1 | const nest = require('depnest') |
2 | |
3 | exports.gives = nest('message.html.decorate') |
4 | |
5 | exports.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