git ssb

7+

dinoworm ๐Ÿ› / patchcore



Tree: c458fc7d6861c35a24d0bef4635354827b271ce1

Files: c458fc7d6861c35a24d0bef4635354827b271ce1 / message / html / decorate / data-id.js

236 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.id = msg.key
8 return element
9 })
10}
11

Built with git-ssb-web