git ssb

2+

mixmix / ticktack



Tree: ec8cfe66cd3dbfa8ddc119bae4546fb25f8c8fd5

Files: ec8cfe66cd3dbfa8ddc119bae4546fb25f8c8fd5 / main.js

882 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 {
14 about: require('./about'),
15 app: require('./app'),
16 blob: require('./blob'),
17 //config: require('./ssb-config'),
18 config: require('./config'),
19 message: require('./message'),
20 router: require('./router'),
21 styles: require('./styles'),
22 translations: require('./translations/sync'),
23 state: require('./state/obs'),
24 },
25 require('patch-history'),
26 require('patchcore')
27)
28
29const api = entry(sockets, nest('app.html.app', 'first'))
30
31const app = api.app.html.app()
32
33// TODO (mix) : once app has swapping pages, attach the app to the page here
34// document.body.appendChild(app)
35
36
37

Built with git-ssb-web