Files: 11a18b6002794331feb9f11d67fbfa08986633e9 / message / html / decorate / context-menus.js
319 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 app/sync/initialise/electron-context-menu-and-spellcheck.js |
8 | element.msg = { key: msg.key } |
9 | return element |
10 | }) |
11 | } |
12 |
Built with git-ssb-web