git ssb

0+

Josiah / patchbay-tags



Tree: 653e7d95783fcb22649a1ce70a47fc0deb571e3f

Files: 653e7d95783fcb22649a1ce70a47fc0deb571e3f / bookmark / html / action / archive.js

331 bytesRaw
1var nest = require('depnest')
2
3exports.needs = nest({
4 'bookmark.html.tagAction': 'first'
5})
6
7exports.gives = nest('bookmark.html.action')
8
9exports.create = (api) => {
10 return nest('bookmark.html.action', archive)
11
12 function archive(msg) {
13 return api.bookmark.html.tagAction('Archived', 'Archive', 'Unarchive')(msg)
14 }
15}
16

Built with git-ssb-web