git ssb

16+

Dominic / patchbay



Tree: 94fee4c60e06e9664fbbc1e09f7208d11ba546b6

Files: 94fee4c60e06e9664fbbc1e09f7208d11ba546b6 / message / html / decorate / data-key.js

300 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 element.dataset.key = msg.key
8 return element
9 })
10}
11
12// data.id already exists but why the fuck is it called that?
13

Built with git-ssb-web