git ssb

2+

mixmix / ticktack



Tree: 8f710d26c85cbaa5cb40a9ab64fe40cc85df0934

Files: 8f710d26c85cbaa5cb40a9ab64fe40cc85df0934 / main.js

808 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 {
16 about: require('./about'),
17 app: require('./app'),
18 blob: require('./blob'),
19 //config: require('./ssb-config'),
20 config: require('./config'),
21 message: require('./message'),
22 router: require('./router'),
23 styles: require('./styles'),
24 state: require('./state/obs'),
25 },
26 require('patchcore')
27)
28
29const api = entry(sockets, nest('app.html.app', 'first'))
30
31document.body.appendChild(api.app.html.app())
32
33
34
35
36
37
38

Built with git-ssb-web