git ssb

2+

mixmix / ticktack



Tree: e65b2dcf982e55434b4c16b527d24c1ad7182f89

Files: e65b2dcf982e55434b4c16b527d24c1ad7182f89 / main.js

860 bytesRaw
1const combine = require('depject')
2const entry = require('depject/entry')
3const nest = require('depnest')
4
5// polyfills
6require('setimmediate')
7
8// add inspect right click menu
9require('./context-menu')
10
11// from more specialized to more general
12const sockets = combine(
13 //we always need to have translations first!
14 {translations: require('./translations/sync')},
15 require('./unread'),
16 {
17 about: require('./about'),
18 app: require('./app'),
19 blob: require('./blob'),
20 //config: require('./ssb-config'),
21 config: require('./config'),
22 message: require('./message'),
23 router: require('./router'),
24 styles: require('./styles'),
25 state: require('./state/obs'),
26 },
27// require('patch-history'),
28 require('patchcore')
29)
30
31const api = entry(sockets, nest('app.html.app', 'first'))
32
33document.body.appendChild(api.app.html.app())
34
35
36
37
38
39

Built with git-ssb-web