Files: c26a377b747816479b1dc93f160726ef84bf6205 / app / sync / initialize / suggests.js
376 bytesRaw
1 | const nest = require('depnest') |
2 | |
3 | exports.gives = nest('app.sync.initialize') |
4 | |
5 | exports.needs = nest({ |
6 | 'about.async.suggest': 'first', |
7 | 'channel.async.suggest': 'first' |
8 | }) |
9 | |
10 | exports.create = (api) => { |
11 | var nav = null |
12 | |
13 | return nest({ |
14 | 'app.sync.initialize': function initializeSuggests () { |
15 | api.about.async.suggest() |
16 | api.channel.async.suggest() |
17 | } |
18 | }) |
19 | } |
20 | |
21 |
Built with git-ssb-web