Files: 653e7d95783fcb22649a1ce70a47fc0deb571e3f / bookmark / html / action / read.js
315 bytesRaw
1 | var nest = require('depnest') |
2 | |
3 | exports.needs = nest({ |
4 | 'bookmark.html.tagAction': 'first' |
5 | }) |
6 | |
7 | exports.gives = nest('bookmark.html.action') |
8 | |
9 | exports.create = (api) => { |
10 | return nest('bookmark.html.action', read) |
11 | |
12 | function read(msg) { |
13 | return api.bookmark.html.tagAction('Read', 'Read', 'Unread')(msg) |
14 | } |
15 | } |
16 |
Built with git-ssb-web