git ssb

2+

mixmix / ticktack



Tree: f736acde0d02447833cfd0c3a021d2d560e5c9a6

Files: f736acde0d02447833cfd0c3a021d2d560e5c9a6 / main.js

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

Built with git-ssb-web